namespace TuanHA_Combat_Routine
{
    using Styx.Common;
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.IO;
    using System.Windows.Forms;
    using System.Xml.Linq;

    public class THForm : Form
    {
        private Button AFK;
        private CheckBox AntiMagicShell;
        private CheckBox AntiMagicShellCaster;
        private NumericUpDown AntiMagicShellCasterNumber;
        private CheckBox AntiMagicShellDebuff;
        private NumericUpDown AntiMagicShellDebuffNumber;
        private CheckBox AntiMagicShellEnemy;
        private NumericUpDown AntiMagicShellEnemyHP;
        private NumericUpDown AntiMagicShellHP;
        private CheckBox AntiMagicShellLichborne;
        private CheckBox AntiMagicZone;
        private CheckBox AntiMagicZoneCaster;
        private NumericUpDown AntiMagicZoneCasterNumber;
        private CheckBox AntiMagicZoneDebuff;
        private NumericUpDown AntiMagicZoneDebuffNumber;
        private NumericUpDown AntiMagicZoneHP;
        private Button Apply;
        private CheckBox AsphyxiateHelpFriend;
        private NumericUpDown AsphyxiateHelpFriendHP;
        private CheckBox AttackASAP;
        private CheckBox AttackOOC;
        private CheckBox AutoAoE;
        private CheckBox AutoBuff;
        private CheckBox AutoFace;
        private CheckBox AutoMove;
        private CheckBox AutoPathofFrost;
        private CheckBox AutoPrecence;
        private CheckBox AutoRacial;
        private CheckBox AutoRaiseAlly;
        private CheckBox AutoTarget;
        private CheckBox AutoTaunt;
        private ComboBox Backward;
        private NumericUpDown BloodChargeStack;
        private CheckBox BloodPresence;
        private NumericUpDown BloodPresenceHP;
        private CheckBox BloodTap;
        private NumericUpDown BurstHP;
        private ComboBox BurstKey;
        private CheckBox ChainofIceMelee;
        private NumericUpDown ChainofIceMeleeHP;
        private CheckBox ChainsofIce;
        private NumericUpDown ChainsofIceMinDistance;
        private CheckBox ChargeInterrupt;
        private NumericUpDown ChargeInterruptMS;
        private CheckBox ChargeStunEnemy;
        private NumericUpDown ChargeStunEnemyHP;
        private CheckBox ChargeStunFriend;
        private NumericUpDown ChargeStunFriendHP;
        private IContainer components;
        private CheckBox ControlUndead;
        private CheckBox DancingRuneWeapon;
        private NumericUpDown DancingRuneWeaponHP;
        private CheckBox DarkSimulacrumon;
        private CheckBox DarkSimulacrumonAuto;
        private RadioButton DarkSimulacrumonCast;
        private RadioButton DarkSimulacrumonCooldown;
        private CheckBox DeathandDecaySnare;
        private CheckBox DeathCoilHealPet;
        private NumericUpDown DeathCoilHealPetHP;
        private CheckBox DeathGrip;
        private CheckBox DeathGripInterrupt;
        private NumericUpDown DeathGripInterruptMs;
        private CheckBox DeathGripMelee;
        private NumericUpDown DeathGripMeleeHP;
        private NumericUpDown DeathGripMinDistance;
        private CheckBox DeathPact;
        private NumericUpDown DeathPactHP;
        private CheckBox DeathsAdvance;
        private CheckBox DeathStrike;
        private NumericUpDown DeathStrikeHP;
        private CheckBox DesecratedGround;
        private NumericUpDown DesecratedGroundDebuffMinDuration;
        private Button Dungeon;
        private ComboBox EmpowerRuneWeapon;
        private NumericUpDown EmpowerRuneWeaponPercent;
        private CheckBox FlagReturnorPickup;
        private CheckBox Follow;
        private NumericUpDown FollowDistance;
        private ComboBox Forward;
        private ComboBox GargoyleFrenzy;
        private NumericUpDown GargoyleFrenzyPercent;
        private CheckBox GnawInterrupt;
        private NumericUpDown GnawInterruptMS;
        private CheckBox GnawStunEnemy;
        private NumericUpDown GnawStunEnemyHP;
        private CheckBox GnawStunFriend;
        private NumericUpDown GnawStunFriendHP;
        private CheckBox GorefiendsGraspAggro;
        private NumericUpDown GorefiendsGraspAggroMinDist;
        private CheckBox GorefiendsGraspAoE;
        private NumericUpDown GorefiendsGraspAoENumber;
        private CheckBox GorefiendsGraspInterrupt;
        private NumericUpDown GorefiendsGraspInterruptMS;
        private CheckBox GorefiendsGraspKiter;
        private NumericUpDown GorefiendsGraspKiterMinDist;
        private CheckBox GorefiendsGraspMelee;
        private NumericUpDown GorefiendsGraspMeleeHP;
        private GroupBox groupBox1;
        private GroupBox groupBox10;
        private GroupBox groupBox2;
        private GroupBox groupBox3;
        private GroupBox groupBox4;
        private GroupBox groupBox5;
        private GroupBox groupBox6;
        private GroupBox groupBox7;
        private GroupBox groupBox8;
        private GroupBox groupBox9;
        private CheckBox HealAttack;
        private NumericUpDown HealAttackHP;
        private CheckBox HealthStone;
        private NumericUpDown HealthStoneHP;
        private CheckBox Huddle;
        private NumericUpDown HuddleHP;
        private CheckBox IceboundFortitude;
        private NumericUpDown IceboundFortitudeHP;
        private CheckBox IceboundFortitudeStun;
        private NumericUpDown IceboundFortitudeStunDuration;
        private CheckBox InterruptAll;
        private CheckBox InterruptFocus;
        private CheckBox InterruptTarget;
        private Label label10;
        private Label label12;
        private Label label13;
        private Label label14;
        private Label label15;
        private Label label16;
        private Label label17;
        private Label label18;
        private Label label19;
        private Label label2;
        private Label label4;
        private Label label5;
        private Label label6;
        private Label label7;
        private Label label8;
        private Label label9;
        public string LastSavedMode = "";
        private CheckBox LeapRange;
        private NumericUpDown LeapRangeDist;
        private CheckBox LichborneFear;
        private NumericUpDown LichborneFearDuration;
        private CheckBox LichborneHeal;
        private NumericUpDown LichborneHealHP;
        private Button LoadSetting;
        private CheckBox MindFreezeInterrupt;
        private NumericUpDown MindFreezeInterruptMs;
        private CheckBox NecroticStrikeStack;
        private CheckBox NecroticStrikeStackBurst;
        private NumericUpDown NecroticStrikeStackDeathRune;
        private Button OK;
        private ComboBox PauseKey;
        private PictureBox pictureBox1;
        private ComboBox PillarofFrost;
        private NumericUpDown PillarofFrostPercent;
        private CheckBox PlagueLeech;
        private ComboBox ProfBuff;
        private NumericUpDown ProfBuffHP;
        private Button PvP;
        private Button Quest;
        private Button Raid;
        private ComboBox RaiseDead;
        private NumericUpDown RaiseDeadPercent;
        private CheckBox RemorselessWinter;
        private CheckBox RemorselessWinterBurst;
        private CheckBox RemorselessWinterDeathGrip;
        private CheckBox RemorselessWinterEnemy;
        private CheckBox RemorselessWinterEnemyLow;
        private NumericUpDown RemorselessWinterEnemyLowHP;
        private NumericUpDown RemorselessWinterEnemyNumber;
        private NumericUpDown RemorselessWinterHP;
        private RichTextBox richTextBox1;
        private CheckBox RuneTap;
        private NumericUpDown RuneTapHP;
        private Button SaveSetting;
        private CheckBox Siphon;
        private NumericUpDown SiphonHP;
        private CheckBox SoulReaper;
        private NumericUpDown SoulReaperHP;
        private ComboBox StrafleLeft;
        private ComboBox StrafleRight;
        private CheckBox StrangulateInterrupt;
        private NumericUpDown StrangulateInterruptMs;
        private CheckBox StrangulateInterruptTarget;
        private NumericUpDown StrangulateInterruptTargetHP;
        private CheckBox StrangulateLow;
        private NumericUpDown StrangulateLowHP;
        private TabControl tabControl1;
        private TabPage tabPage1;
        private TabPage tabPage2;
        private TabPage tabPage3;
        private TabPage tabPage4;
        private TabPage tabPage5;
        private ToolTip toolTip1;
        private ComboBox Trinket1;
        private NumericUpDown Trinket1HP;
        private ComboBox Trinket2;
        private NumericUpDown Trinket2HP;
        private ComboBox TurnLeft;
        private ComboBox TurnRight;
        private CheckBox UnholyBlight;
        private NumericUpDown UnittoStartAoE;
        private CheckBox UseFood;
        private NumericUpDown UseFoodHP;
        private CheckBox VampiricBlood;
        private NumericUpDown VampiricBloodHP;

        public THForm()
        {
            this.InitializeComponent();
        }

        private void AFK_Click(object sender, EventArgs e)
        {
            MessageBox.Show(Classname.GetCurrentSpec() + " Death Knight Full AFK Mode: Work best with BGBuddy, ArcheologyBuddy, DungeonBuddy, Grind Bot, Questing...", "Important Note", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
            Logging.Write("----------------------------------");
            Logging.Write("Full AFK Mode On");
            Logging.Write("----------------------------------");
            if (File.Exists(Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Preset\TuanHA Death Knight Defaut AFK.xml"))
            {
                Logging.Write("----------------------------------");
                THSettings.Instance.LoadFromXML(XElement.Load(Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Preset\TuanHA Death Knight Defaut AFK.xml"));
                Logging.Write("Load TuanHA Death Knight Defaut AFK Settings from a file complete");
                Logging.Write("----------------------------------");
                this.THDKForm_Load(null, null);
            }
            else
            {
                Logging.Write("----------------------------------");
                Logging.Write("File not exists: " + Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Preset\TuanHA Death Knight Defaut AFK.xml");
                Logging.Write("Load TuanHA Death Knight Defaut AFK Settings from a file fail.");
                Logging.Write("----------------------------------");
            }
        }

        private void AntiMagicShell_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AntiMagicShell = this.AntiMagicShell.Checked;
        }

        private void AntiMagicShellCaster_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AntiMagicShellCaster = this.AntiMagicShellCaster.Checked;
        }

        private void AntiMagicShellCasterNumber_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AntiMagicShellCasterNumber = (int) this.AntiMagicShellCasterNumber.Value;
        }

        private void AntiMagicShellDebuff_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AntiMagicShellDebuff = this.AntiMagicShellDebuff.Checked;
        }

        private void AntiMagicShellDebuffNumber_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AntiMagicShellDebuffNumber = (int) this.AntiMagicShellDebuffNumber.Value;
        }

        private void AntiMagicShellEnemy_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AntiMagicShellEnemy = this.AntiMagicShellEnemy.Checked;
        }

        private void AntiMagicShellEnemyHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AntiMagicShellEnemyHP = (int) this.AntiMagicShellEnemyHP.Value;
        }

        private void AntiMagicShellHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AntiMagicShellHP = (int) this.AntiMagicShellHP.Value;
        }

        private void AntiMagicShellLichborne_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AntiMagicShellLichborne = this.AntiMagicShellLichborne.Checked;
        }

        private void AntiMagicZone_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AntiMagicZone = this.AntiMagicZone.Checked;
        }

        private void AntiMagicZoneCaster_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AntiMagicZoneCaster = this.AntiMagicZoneCaster.Checked;
        }

        private void AntiMagicZoneCasterNumber_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AntiMagicZoneCasterNumber = (int) this.AntiMagicZoneCasterNumber.Value;
        }

        private void AntiMagicZoneDebuff_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AntiMagicZoneDebuff = this.AntiMagicZoneDebuff.Checked;
        }

        private void AntiMagicZoneDebuffNumber_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AntiMagicZoneDebuffNumber = (int) this.AntiMagicZoneDebuffNumber.Value;
        }

        private void AntiMagicZoneHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AntiMagicZoneHP = (int) this.AntiMagicZoneHP.Value;
        }

        private void Apply_Click(object sender, EventArgs e)
        {
            THSettings.Instance.LastSavedMode = this.LastSavedMode;
            THSettings.Instance.LastSavedSpec = Classname.GetCurrentSpec();
            THSettings.Instance.Save();
            Logging.Write("TuanHA DK Settings have been saved");
            THSettings.Instance.UpdateStatus = true;
        }

        private void AsphyxiateHelpFriend_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AsphyxiateHelpFriend = this.AsphyxiateHelpFriend.Checked;
        }

        private void AsphyxiateHelpFriendHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AsphyxiateHelpFriendHP = (int) this.AsphyxiateHelpFriendHP.Value;
        }

        private void AttackASAP_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AttackASAP = this.AttackASAP.Checked;
        }

        private void AttackOOC_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AttackOOC = this.AttackOOC.Checked;
        }

        private void AutoAoE_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AutoAoE = this.AutoAoE.Checked;
        }

        private void AutoMove_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AutoMove = this.AutoMove.Checked;
        }

        private void AutoPathofFrost_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AutoPathofFrost = this.AutoPathofFrost.Checked;
        }

        private void AutoPrecence_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AutoPrecence = this.AutoPrecence.Checked;
        }

        private void AutoRacial_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AutoRacial = this.AutoRacial.Checked;
        }

        private void AutoRaiseAlly_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AutoRaiseAlly = this.AutoRaiseAlly.Checked;
        }

        private void AutoTarget_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AutoTarget = this.AutoTarget.Checked;
        }

        private void AutoTaunt_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AutoTaunt = this.AutoTaunt.Checked;
        }

        private void Backward_SelectedIndexChanged(object sender, EventArgs e)
        {
            for (int i = 0; i <= 40; i++)
            {
                if (this.Backward.SelectedIndex == i)
                {
                    THSettings.Instance.Backward = i;
                }
            }
        }

        private void BloodChargeStack_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.BloodChargeStack = (int) this.BloodChargeStack.Value;
        }

        private void BloodPresence_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.BloodPresence = this.BloodPresence.Checked;
        }

        private void BloodPresenceHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.BloodPresenceHP = (int) this.BloodPresenceHP.Value;
        }

        private void BloodTap_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.BloodTap = this.BloodTap.Checked;
        }

        private void Buff_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AutoBuff = this.AutoBuff.Checked;
        }

        private void BurstHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.BurstHP = (int) this.BurstHP.Value;
        }

        private void BurstKey_SelectedIndexChanged(object sender, EventArgs e)
        {
            for (int i = 0; i <= 0x2e; i++)
            {
                if (this.BurstKey.SelectedIndex == i)
                {
                    THSettings.Instance.BurstKey = i;
                }
            }
        }

        private void ChainofIceMelee_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.ChainofIceMelee = this.ChainofIceMelee.Checked;
        }

        private void ChainofIceMeleeHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.ChainofIceMeleeHP = (int) this.ChainofIceMeleeHP.Value;
        }

        private void ChainsofIce_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.ChainsofIce = this.ChainsofIce.Checked;
        }

        private void ChainsofIceMinDistance_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.ChainsofIceMinDistance = (int) this.ChainsofIceMinDistance.Value;
        }

        private void ChargeInterrupt_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.ChargeInterrupt = this.ChargeInterrupt.Checked;
        }

        private void ChargeInterruptMS_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.ChargeInterruptMS = (int) this.ChargeInterruptMS.Value;
        }

        private void ChargeStunEnemy_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.ChargeStunEnemy = this.ChargeStunEnemy.Checked;
        }

        private void ChargeStunEnemyHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.ChargeStunEnemyHP = (int) this.ChargeStunEnemyHP.Value;
        }

        private void ChargeStunFriend_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.ChargeStunFriend = this.ChargeStunFriend.Checked;
        }

        private void ChargeStunFriendHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.ChargeStunFriendHP = (int) this.ChargeStunFriendHP.Value;
        }

        private void ControlUndead_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.ControlUndead = this.ControlUndead.Checked;
        }

        private void DancingRuneWeapon_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DancingRuneWeapon = this.DancingRuneWeapon.Checked;
        }

        private void DancingRuneWeaponHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DancingRuneWeaponHP = (int) this.DancingRuneWeaponHP.Value;
        }

        private void DarkSimulacrumon_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DarkSimulacrumon = this.DarkSimulacrumon.Checked;
        }

        private void DarkSimulacrumonAuto_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DarkSimulacrumonAuto = this.DarkSimulacrumonAuto.Checked;
        }

        private void DarkSimulacrumonCast_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DarkSimulacrumonCast = this.DarkSimulacrumonCast.Checked;
        }

        private void DarkSimulacrumonCooldown_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DarkSimulacrumonCooldown = this.DarkSimulacrumonCooldown.Checked;
        }

        private void DeathandDecaySnare_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DeathandDecaySnare = this.DeathandDecaySnare.Checked;
        }

        private void DeathCoilHealPet_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DeathCoilHealPet = this.DeathCoilHealPet.Checked;
        }

        private void DeathCoilHealPetHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DeathCoilHealPetHP = (int) this.DeathCoilHealPetHP.Value;
        }

        private void DeathGrip_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DeathGrip = this.DeathGrip.Checked;
        }

        private void DeathGripInterrupt_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DeathGripInterrupt = this.DeathGripInterrupt.Checked;
        }

        private void DeathGripInterrupt_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DeathGripInterruptMs = (int) this.DeathGripInterruptMs.Value;
        }

        private void DeathGripMelee_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DeathGripMelee = this.DeathGripMelee.Checked;
        }

        private void DeathGripMeleeHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DeathGripMeleeHP = (int) this.DeathGripMeleeHP.Value;
        }

        private void DeathGripMinDistance_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DeathGripMinDistance = (int) this.DeathGripMinDistance.Value;
        }

        private void DeathPact_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DeathPact = this.DeathPact.Checked;
        }

        private void DeathPactHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DeathPactHP = (int) this.DeathPactHP.Value;
        }

        private void DeathsAdvance_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DeathsAdvance = this.DeathsAdvance.Checked;
        }

        private void DeathStrike_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DeathStrike = this.DeathStrike.Checked;
        }

        private void DeathStrikePercent_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DeathStrikeHP = (int) this.DeathStrikeHP.Value;
        }

        private void DesecratedGround_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DesecratedGround = this.DesecratedGround.Checked;
        }

        private void DesecratedGroundDebuffMinDuration_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.DesecratedGroundDebuffMinDuration = (int) this.DesecratedGroundDebuffMinDuration.Value;
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        public void Dungeon_Click(object sender, EventArgs e)
        {
            MessageBox.Show(Classname.GetCurrentSpec() + " Death Knight Dungeon Mode: Work best with LazyRaider in Dungeon.", "Important Note", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
            Logging.Write("----------------------------------");
            Logging.Write("Dungeon Mode On");
            Logging.Write("----------------------------------");
            if (File.Exists(Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Preset\TuanHA Death Knight Defaut Dungeon.xml"))
            {
                Logging.Write("----------------------------------");
                THSettings.Instance.LoadFromXML(XElement.Load(Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Preset\TuanHA Death Knight Defaut Dungeon.xml"));
                Logging.Write("Load TuanHA Death Knight Defaut Dungeon Settings from a file complete");
                Logging.Write("----------------------------------");
                this.THDKForm_Load(null, null);
            }
            else
            {
                Logging.Write("----------------------------------");
                Logging.Write("File not exists: " + Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Preset\TuanHA Death Knight Defaut Dungeon.xml");
                Logging.Write("Load TuanHA Death Knight Defaut AFK Dungeon from a file fail.");
                Logging.Write("----------------------------------");
            }
        }

        private void EmpowerRuneWeapon_SelectedIndexChanged(object sender, EventArgs e)
        {
            for (int i = 0; i <= 4; i++)
            {
                if (this.EmpowerRuneWeapon.SelectedIndex == i)
                {
                    THSettings.Instance.EmpowerRuneWeapon = i;
                }
            }
        }

        private void EmpowerRuneWeaponPercent_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.EmpowerRuneWeaponPercent = (int) this.EmpowerRuneWeaponPercent.Value;
        }

        private void Face_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.AutoFace = this.AutoFace.Checked;
        }

        private void FlagReturnorPickup_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.FlagReturnorPickup = this.FlagReturnorPickup.Checked;
        }

        private void Follow_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.Follow = this.Follow.Checked;
        }

        private void FollowDistance_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.FollowDistance = (int) this.FollowDistance.Value;
        }

        private void Forward_SelectedIndexChanged(object sender, EventArgs e)
        {
            for (int i = 0; i <= 40; i++)
            {
                if (this.Forward.SelectedIndex == i)
                {
                    THSettings.Instance.Forward = i;
                }
            }
        }

        private void GargoyleFrenzy_SelectedIndexChanged(object sender, EventArgs e)
        {
            for (int i = 0; i <= 4; i++)
            {
                if (this.GargoyleFrenzy.SelectedIndex == i)
                {
                    THSettings.Instance.GargoyleFrenzy = i;
                }
            }
        }

        private void GargoyleFrenzyPercent_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GargoyleFrenzyPercent = (int) this.GargoyleFrenzyPercent.Value;
        }

        private void GnawInterrupt_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GnawInterrupt = this.GnawInterrupt.Checked;
        }

        private void GnawInterruptMS_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GnawInterruptMS = (int) this.GnawInterruptMS.Value;
        }

        private void GnawStunEnemy_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GnawStunEnemy = this.GnawStunEnemy.Checked;
        }

        private void GnawStunEnemyHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GnawStunEnemyHP = (int) this.GnawStunEnemyHP.Value;
        }

        private void GnawStunFriend_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GnawStunFriend = this.GnawStunFriend.Checked;
        }

        private void GnawStunFriendHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GnawStunFriendHP = (int) this.GnawStunFriendHP.Value;
        }

        private void GorefiendsGraspAggro_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GorefiendsGraspAggro = this.GorefiendsGraspAggro.Checked;
        }

        private void GorefiendsGraspAggroMinDist_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GorefiendsGraspAggroMinDist = (int) this.GorefiendsGraspAggroMinDist.Value;
        }

        private void GorefiendsGraspAoE_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GorefiendsGraspAoE = this.GorefiendsGraspAoE.Checked;
        }

        private void GorefiendsGraspAoENumber_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GorefiendsGraspAoENumber = (int) this.GorefiendsGraspAoENumber.Value;
        }

        private void GorefiendsGraspInterrupt_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GorefiendsGraspInterrupt = this.GorefiendsGraspInterrupt.Checked;
        }

        private void GorefiendsGraspInterruptMS_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GorefiendsGraspInterruptMS = (int) this.GorefiendsGraspInterruptMS.Value;
        }

        private void GorefiendsGraspKiter_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GorefiendsGraspKiter = this.GorefiendsGraspKiter.Checked;
        }

        private void GorefiendsGraspKiterMinDist_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GorefiendsGraspKiterMinDist = (int) this.GorefiendsGraspKiterMinDist.Value;
        }

        private void GorefiendsGraspMelee_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GorefiendsGraspMelee = this.GorefiendsGraspMelee.Checked;
        }

        private void GorefiendsGraspMeleeHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.GorefiendsGraspMeleeHP = (int) this.GorefiendsGraspMeleeHP.Value;
        }

        private void HealAttack_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.HealAttack = this.HealAttack.Checked;
        }

        private void HealAttackHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.HealAttackHP = (int) this.HealAttackHP.Value;
        }

        private void HealthStone_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.HealthStone = this.HealthStone.Checked;
        }

        private void HealthStone_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.HealthStoneHP = (int) this.HealthStoneHP.Value;
        }

        private void Huddle_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.Huddle = this.Huddle.Checked;
        }

        private void HuddleHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.HuddleHP = (int) this.HuddleHP.Value;
        }

        private void IceboundFortitude_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.IceboundFortitude = this.IceboundFortitude.Checked;
        }

        private void IceboundFortitude_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.IceboundFortitudeHP = (int) this.IceboundFortitudeHP.Value;
        }

        private void IceboundFortitudeStun_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.IceboundFortitudeStun = this.IceboundFortitudeStun.Checked;
        }

        private void IceboundFortitudeStunDuration_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.IceboundFortitudeStunDuration = (int) this.IceboundFortitudeStunDuration.Value;
        }

        private void InitializeComponent()
        {
            this.components = new Container();
            this.tabControl1 = new TabControl();
            this.tabPage1 = new TabPage();
            this.pictureBox1 = new PictureBox();
            this.tabPage2 = new TabPage();
            this.groupBox4 = new GroupBox();
            this.GargoyleFrenzyPercent = new NumericUpDown();
            this.label2 = new Label();
            this.GargoyleFrenzy = new ComboBox();
            this.Trinket1HP = new NumericUpDown();
            this.Trinket2HP = new NumericUpDown();
            this.BurstHP = new NumericUpDown();
            this.Trinket1 = new ComboBox();
            this.EmpowerRuneWeaponPercent = new NumericUpDown();
            this.Trinket2 = new ComboBox();
            this.label9 = new Label();
            this.label12 = new Label();
            this.label8 = new Label();
            this.label13 = new Label();
            this.RaiseDead = new ComboBox();
            this.BurstKey = new ComboBox();
            this.label14 = new Label();
            this.RaiseDeadPercent = new NumericUpDown();
            this.ProfBuffHP = new NumericUpDown();
            this.ProfBuff = new ComboBox();
            this.label18 = new Label();
            this.PillarofFrost = new ComboBox();
            this.PillarofFrostPercent = new NumericUpDown();
            this.label19 = new Label();
            this.EmpowerRuneWeapon = new ComboBox();
            this.groupBox3 = new GroupBox();
            this.FlagReturnorPickup = new CheckBox();
            this.AutoPrecence = new CheckBox();
            this.AutoAoE = new CheckBox();
            this.UseFood = new CheckBox();
            this.Backward = new ComboBox();
            this.PauseKey = new ComboBox();
            this.TurnLeft = new ComboBox();
            this.label17 = new Label();
            this.label16 = new Label();
            this.label15 = new Label();
            this.TurnRight = new ComboBox();
            this.StrafleLeft = new ComboBox();
            this.Forward = new ComboBox();
            this.AttackOOC = new CheckBox();
            this.StrafleRight = new ComboBox();
            this.AutoFace = new CheckBox();
            this.label4 = new Label();
            this.AutoPathofFrost = new CheckBox();
            this.label5 = new Label();
            this.AutoTaunt = new CheckBox();
            this.label6 = new Label();
            this.UnittoStartAoE = new NumericUpDown();
            this.label7 = new Label();
            this.label10 = new Label();
            this.AutoRaiseAlly = new CheckBox();
            this.AutoRacial = new CheckBox();
            this.AutoBuff = new CheckBox();
            this.AutoMove = new CheckBox();
            this.AutoTarget = new CheckBox();
            this.UseFoodHP = new NumericUpDown();
            this.groupBox2 = new GroupBox();
            this.BloodPresence = new CheckBox();
            this.BloodPresenceHP = new NumericUpDown();
            this.AntiMagicShellEnemy = new CheckBox();
            this.AntiMagicShellEnemyHP = new NumericUpDown();
            this.AntiMagicShellCaster = new CheckBox();
            this.AntiMagicShellCasterNumber = new NumericUpDown();
            this.AntiMagicShellDebuff = new CheckBox();
            this.AntiMagicShellDebuffNumber = new NumericUpDown();
            this.AntiMagicShellLichborne = new CheckBox();
            this.DancingRuneWeapon = new CheckBox();
            this.DancingRuneWeaponHP = new NumericUpDown();
            this.IceboundFortitudeStunDuration = new NumericUpDown();
            this.IceboundFortitudeStun = new CheckBox();
            this.VampiricBlood = new CheckBox();
            this.RuneTap = new CheckBox();
            this.HealthStone = new CheckBox();
            this.IceboundFortitude = new CheckBox();
            this.DeathStrike = new CheckBox();
            this.AntiMagicShell = new CheckBox();
            this.VampiricBloodHP = new NumericUpDown();
            this.HealthStoneHP = new NumericUpDown();
            this.RuneTapHP = new NumericUpDown();
            this.AntiMagicShellHP = new NumericUpDown();
            this.IceboundFortitudeHP = new NumericUpDown();
            this.DeathStrikeHP = new NumericUpDown();
            this.groupBox1 = new GroupBox();
            this.StrangulateInterruptTarget = new CheckBox();
            this.StrangulateInterruptTargetHP = new NumericUpDown();
            this.InterruptFocus = new CheckBox();
            this.InterruptTarget = new CheckBox();
            this.InterruptAll = new CheckBox();
            this.DeathGripInterrupt = new CheckBox();
            this.StrangulateInterrupt = new CheckBox();
            this.MindFreezeInterrupt = new CheckBox();
            this.DeathGripInterruptMs = new NumericUpDown();
            this.StrangulateInterruptMs = new NumericUpDown();
            this.MindFreezeInterruptMs = new NumericUpDown();
            this.tabPage4 = new TabPage();
            this.groupBox10 = new GroupBox();
            this.SoulReaperHP = new NumericUpDown();
            this.StrangulateLowHP = new NumericUpDown();
            this.StrangulateLow = new CheckBox();
            this.SoulReaper = new CheckBox();
            this.groupBox8 = new GroupBox();
            this.LeapRange = new CheckBox();
            this.LeapRangeDist = new NumericUpDown();
            this.ChargeStunFriend = new CheckBox();
            this.ChargeStunFriendHP = new NumericUpDown();
            this.ChargeInterrupt = new CheckBox();
            this.ChargeInterruptMS = new NumericUpDown();
            this.GnawInterrupt = new CheckBox();
            this.GnawInterruptMS = new NumericUpDown();
            this.GnawStunFriend = new CheckBox();
            this.GnawStunFriendHP = new NumericUpDown();
            this.ChargeStunEnemy = new CheckBox();
            this.ChargeStunEnemyHP = new NumericUpDown();
            this.GnawStunEnemy = new CheckBox();
            this.GnawStunEnemyHP = new NumericUpDown();
            this.Follow = new CheckBox();
            this.FollowDistance = new NumericUpDown();
            this.DeathCoilHealPet = new CheckBox();
            this.DeathCoilHealPetHP = new NumericUpDown();
            this.Huddle = new CheckBox();
            this.HuddleHP = new NumericUpDown();
            this.groupBox5 = new GroupBox();
            this.NecroticStrikeStackBurst = new CheckBox();
            this.NecroticStrikeStackDeathRune = new NumericUpDown();
            this.AttackASAP = new CheckBox();
            this.DarkSimulacrumon = new CheckBox();
            this.DarkSimulacrumonCooldown = new RadioButton();
            this.DarkSimulacrumonCast = new RadioButton();
            this.ChainofIceMelee = new CheckBox();
            this.ChainofIceMeleeHP = new NumericUpDown();
            this.DeathGripMelee = new CheckBox();
            this.DeathGripMeleeHP = new NumericUpDown();
            this.ChainsofIce = new CheckBox();
            this.ChainsofIceMinDistance = new NumericUpDown();
            this.NecroticStrikeStack = new CheckBox();
            this.DeathGrip = new CheckBox();
            this.DeathGripMinDistance = new NumericUpDown();
            this.DarkSimulacrumonAuto = new CheckBox();
            this.DeathandDecaySnare = new CheckBox();
            this.ControlUndead = new CheckBox();
            this.tabPage5 = new TabPage();
            this.groupBox9 = new GroupBox();
            this.RemorselessWinterEnemyLowHP = new NumericUpDown();
            this.RemorselessWinter = new CheckBox();
            this.RemorselessWinterEnemyLow = new CheckBox();
            this.RemorselessWinterHP = new NumericUpDown();
            this.RemorselessWinterEnemy = new CheckBox();
            this.RemorselessWinterEnemyNumber = new NumericUpDown();
            this.RemorselessWinterBurst = new CheckBox();
            this.RemorselessWinterDeathGrip = new CheckBox();
            this.groupBox7 = new GroupBox();
            this.GorefiendsGraspAoE = new CheckBox();
            this.GorefiendsGraspAoENumber = new NumericUpDown();
            this.DesecratedGroundDebuffMinDuration = new NumericUpDown();
            this.GorefiendsGraspMelee = new CheckBox();
            this.GorefiendsGraspMeleeHP = new NumericUpDown();
            this.GorefiendsGraspKiter = new CheckBox();
            this.DesecratedGround = new CheckBox();
            this.GorefiendsGraspKiterMinDist = new NumericUpDown();
            this.LichborneFear = new CheckBox();
            this.LichborneFearDuration = new NumericUpDown();
            this.LichborneHealHP = new NumericUpDown();
            this.LichborneHeal = new CheckBox();
            this.GorefiendsGraspAggroMinDist = new NumericUpDown();
            this.GorefiendsGraspAggro = new CheckBox();
            this.GorefiendsGraspInterruptMS = new NumericUpDown();
            this.GorefiendsGraspInterrupt = new CheckBox();
            this.groupBox6 = new GroupBox();
            this.Siphon = new CheckBox();
            this.SiphonHP = new NumericUpDown();
            this.DeathPact = new CheckBox();
            this.DeathPactHP = new NumericUpDown();
            this.BloodChargeStack = new NumericUpDown();
            this.BloodTap = new CheckBox();
            this.DeathsAdvance = new CheckBox();
            this.UnholyBlight = new CheckBox();
            this.AntiMagicZoneDebuff = new CheckBox();
            this.PlagueLeech = new CheckBox();
            this.HealAttack = new CheckBox();
            this.AntiMagicZoneHP = new NumericUpDown();
            this.HealAttackHP = new NumericUpDown();
            this.AntiMagicZone = new CheckBox();
            this.AntiMagicZoneCaster = new CheckBox();
            this.AntiMagicZoneCasterNumber = new NumericUpDown();
            this.AntiMagicZoneDebuffNumber = new NumericUpDown();
            this.tabPage3 = new TabPage();
            this.richTextBox1 = new RichTextBox();
            this.OK = new Button();
            this.Apply = new Button();
            this.Dungeon = new Button();
            this.Raid = new Button();
            this.PvP = new Button();
            this.Quest = new Button();
            this.AFK = new Button();
            this.SaveSetting = new Button();
            this.LoadSetting = new Button();
            this.toolTip1 = new ToolTip(this.components);
            this.AsphyxiateHelpFriend = new CheckBox();
            this.AsphyxiateHelpFriendHP = new NumericUpDown();
            this.tabControl1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            ((ISupportInitialize) this.pictureBox1).BeginInit();
            this.tabPage2.SuspendLayout();
            this.groupBox4.SuspendLayout();
            this.GargoyleFrenzyPercent.BeginInit();
            this.Trinket1HP.BeginInit();
            this.Trinket2HP.BeginInit();
            this.BurstHP.BeginInit();
            this.EmpowerRuneWeaponPercent.BeginInit();
            this.RaiseDeadPercent.BeginInit();
            this.ProfBuffHP.BeginInit();
            this.PillarofFrostPercent.BeginInit();
            this.groupBox3.SuspendLayout();
            this.UnittoStartAoE.BeginInit();
            this.UseFoodHP.BeginInit();
            this.groupBox2.SuspendLayout();
            this.BloodPresenceHP.BeginInit();
            this.AntiMagicShellEnemyHP.BeginInit();
            this.AntiMagicShellCasterNumber.BeginInit();
            this.AntiMagicShellDebuffNumber.BeginInit();
            this.DancingRuneWeaponHP.BeginInit();
            this.IceboundFortitudeStunDuration.BeginInit();
            this.VampiricBloodHP.BeginInit();
            this.HealthStoneHP.BeginInit();
            this.RuneTapHP.BeginInit();
            this.AntiMagicShellHP.BeginInit();
            this.IceboundFortitudeHP.BeginInit();
            this.DeathStrikeHP.BeginInit();
            this.groupBox1.SuspendLayout();
            this.StrangulateInterruptTargetHP.BeginInit();
            this.DeathGripInterruptMs.BeginInit();
            this.StrangulateInterruptMs.BeginInit();
            this.MindFreezeInterruptMs.BeginInit();
            this.tabPage4.SuspendLayout();
            this.groupBox10.SuspendLayout();
            this.SoulReaperHP.BeginInit();
            this.StrangulateLowHP.BeginInit();
            this.groupBox8.SuspendLayout();
            this.LeapRangeDist.BeginInit();
            this.ChargeStunFriendHP.BeginInit();
            this.ChargeInterruptMS.BeginInit();
            this.GnawInterruptMS.BeginInit();
            this.GnawStunFriendHP.BeginInit();
            this.ChargeStunEnemyHP.BeginInit();
            this.GnawStunEnemyHP.BeginInit();
            this.FollowDistance.BeginInit();
            this.DeathCoilHealPetHP.BeginInit();
            this.HuddleHP.BeginInit();
            this.groupBox5.SuspendLayout();
            this.NecroticStrikeStackDeathRune.BeginInit();
            this.ChainofIceMeleeHP.BeginInit();
            this.DeathGripMeleeHP.BeginInit();
            this.ChainsofIceMinDistance.BeginInit();
            this.DeathGripMinDistance.BeginInit();
            this.tabPage5.SuspendLayout();
            this.groupBox9.SuspendLayout();
            this.RemorselessWinterEnemyLowHP.BeginInit();
            this.RemorselessWinterHP.BeginInit();
            this.RemorselessWinterEnemyNumber.BeginInit();
            this.groupBox7.SuspendLayout();
            this.GorefiendsGraspAoENumber.BeginInit();
            this.DesecratedGroundDebuffMinDuration.BeginInit();
            this.GorefiendsGraspMeleeHP.BeginInit();
            this.GorefiendsGraspKiterMinDist.BeginInit();
            this.LichborneFearDuration.BeginInit();
            this.LichborneHealHP.BeginInit();
            this.GorefiendsGraspAggroMinDist.BeginInit();
            this.GorefiendsGraspInterruptMS.BeginInit();
            this.groupBox6.SuspendLayout();
            this.SiphonHP.BeginInit();
            this.DeathPactHP.BeginInit();
            this.BloodChargeStack.BeginInit();
            this.AntiMagicZoneHP.BeginInit();
            this.HealAttackHP.BeginInit();
            this.AntiMagicZoneCasterNumber.BeginInit();
            this.AntiMagicZoneDebuffNumber.BeginInit();
            this.tabPage3.SuspendLayout();
            this.AsphyxiateHelpFriendHP.BeginInit();
            base.SuspendLayout();
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage2);
            this.tabControl1.Controls.Add(this.tabPage4);
            this.tabControl1.Controls.Add(this.tabPage5);
            this.tabControl1.Controls.Add(this.tabPage3);
            this.tabControl1.Location = new Point(12, 12);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new Size(760, 0x199);
            this.tabControl1.TabIndex = 0;
            this.tabPage1.Controls.Add(this.pictureBox1);
            this.tabPage1.Location = new Point(4, 0x16);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new Padding(3);
            this.tabPage1.Size = new Size(0x2f0, 0x17f);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "Welcome";
            this.tabPage1.UseVisualStyleBackColor = true;
            this.pictureBox1.Location = new Point(0, 0);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new Size(0x2f0, 0x17f);
            this.pictureBox1.TabIndex = 0;
            this.pictureBox1.TabStop = false;
            this.tabPage2.Controls.Add(this.groupBox4);
            this.tabPage2.Controls.Add(this.groupBox3);
            this.tabPage2.Controls.Add(this.groupBox2);
            this.tabPage2.Controls.Add(this.groupBox1);
            this.tabPage2.Location = new Point(4, 0x16);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Padding = new Padding(3);
            this.tabPage2.Size = new Size(0x2f0, 0x17f);
            this.tabPage2.TabIndex = 1;
            this.tabPage2.Text = "General Settings";
            this.tabPage2.UseVisualStyleBackColor = true;
            this.groupBox4.Controls.Add(this.GargoyleFrenzyPercent);
            this.groupBox4.Controls.Add(this.label2);
            this.groupBox4.Controls.Add(this.GargoyleFrenzy);
            this.groupBox4.Controls.Add(this.Trinket1HP);
            this.groupBox4.Controls.Add(this.Trinket2HP);
            this.groupBox4.Controls.Add(this.BurstHP);
            this.groupBox4.Controls.Add(this.Trinket1);
            this.groupBox4.Controls.Add(this.EmpowerRuneWeaponPercent);
            this.groupBox4.Controls.Add(this.Trinket2);
            this.groupBox4.Controls.Add(this.label9);
            this.groupBox4.Controls.Add(this.label12);
            this.groupBox4.Controls.Add(this.label8);
            this.groupBox4.Controls.Add(this.label13);
            this.groupBox4.Controls.Add(this.RaiseDead);
            this.groupBox4.Controls.Add(this.BurstKey);
            this.groupBox4.Controls.Add(this.label14);
            this.groupBox4.Controls.Add(this.RaiseDeadPercent);
            this.groupBox4.Controls.Add(this.ProfBuffHP);
            this.groupBox4.Controls.Add(this.ProfBuff);
            this.groupBox4.Controls.Add(this.label18);
            this.groupBox4.Controls.Add(this.PillarofFrost);
            this.groupBox4.Controls.Add(this.PillarofFrostPercent);
            this.groupBox4.Controls.Add(this.label19);
            this.groupBox4.Controls.Add(this.EmpowerRuneWeapon);
            this.groupBox4.Location = new Point(6, 0x99);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Size = new Size(0xf2, 0xe3);
            this.groupBox4.TabIndex = 3;
            this.groupBox4.TabStop = false;
            this.groupBox4.Text = "Burst";
            int[] bits = new int[4];
            bits[0] = 5;
            this.GargoyleFrenzyPercent.Increment = new decimal(bits);
            this.GargoyleFrenzyPercent.Location = new Point(0xc4, 0x2d);
            this.GargoyleFrenzyPercent.Name = "GargoyleFrenzyPercent";
            this.GargoyleFrenzyPercent.Size = new Size(40, 20);
            this.GargoyleFrenzyPercent.TabIndex = 0x79;
            this.GargoyleFrenzyPercent.ValueChanged += new EventHandler(this.GargoyleFrenzyPercent_ValueChanged);
            this.label2.AutoSize = true;
            this.label2.Location = new Point(6, 0x2f);
            this.label2.Name = "label2";
            this.label2.Size = new Size(0x53, 13);
            this.label2.TabIndex = 0x7b;
            this.label2.Text = "Gargoyle Frenzy";
            this.GargoyleFrenzy.FormattingEnabled = true;
            this.GargoyleFrenzy.Items.AddRange(new object[] { "Never", "Cooldown", "Cooldown (Boss Only)", "Burst Mode", "Enemy Health Below" });
            this.GargoyleFrenzy.Location = new Point(90, 0x2c);
            this.GargoyleFrenzy.Name = "GargoyleFrenzy";
            this.GargoyleFrenzy.Size = new Size(100, 0x15);
            this.GargoyleFrenzy.TabIndex = 0x7a;
            this.GargoyleFrenzy.SelectedIndexChanged += new EventHandler(this.GargoyleFrenzy_SelectedIndexChanged);
            int[] numArray2 = new int[4];
            numArray2[0] = 5;
            this.Trinket1HP.Increment = new decimal(numArray2);
            this.Trinket1HP.Location = new Point(0xc4, 0xaf);
            this.Trinket1HP.Name = "Trinket1HP";
            this.Trinket1HP.Size = new Size(40, 20);
            this.Trinket1HP.TabIndex = 0x68;
            this.Trinket1HP.ValueChanged += new EventHandler(this.Trinket1HP_ValueChanged);
            int[] numArray3 = new int[4];
            numArray3[0] = 5;
            this.Trinket2HP.Increment = new decimal(numArray3);
            this.Trinket2HP.Location = new Point(0xc4, 0xc9);
            this.Trinket2HP.Name = "Trinket2HP";
            this.Trinket2HP.Size = new Size(40, 20);
            this.Trinket2HP.TabIndex = 0x69;
            this.Trinket2HP.ValueChanged += new EventHandler(this.Trinket2HP_ValueChanged);
            int[] numArray4 = new int[4];
            numArray4[0] = 5;
            this.BurstHP.Increment = new decimal(numArray4);
            this.BurstHP.Location = new Point(0xc4, 0x13);
            this.BurstHP.Name = "BurstHP";
            this.BurstHP.Size = new Size(40, 20);
            this.BurstHP.TabIndex = 0x71;
            this.BurstHP.ValueChanged += new EventHandler(this.BurstHP_ValueChanged);
            this.Trinket1.FormattingEnabled = true;
            this.Trinket1.Items.AddRange(new object[] { "Never", "Cooldown", "Cooldown (Boss Only)", "Burst Mode", "Lose Control", "My Health Below", "Enemy Health Below" });
            this.Trinket1.Location = new Point(0x3b, 0xae);
            this.Trinket1.Name = "Trinket1";
            this.Trinket1.Size = new Size(0x83, 0x15);
            this.Trinket1.TabIndex = 0x6a;
            this.Trinket1.SelectedIndexChanged += new EventHandler(this.Trinket1_SelectedIndexChanged);
            int[] numArray5 = new int[4];
            numArray5[0] = 5;
            this.EmpowerRuneWeaponPercent.Increment = new decimal(numArray5);
            this.EmpowerRuneWeaponPercent.Location = new Point(0xc4, 0x47);
            this.EmpowerRuneWeaponPercent.Name = "EmpowerRuneWeaponPercent";
            this.EmpowerRuneWeaponPercent.Size = new Size(40, 20);
            this.EmpowerRuneWeaponPercent.TabIndex = 0x73;
            this.EmpowerRuneWeaponPercent.ValueChanged += new EventHandler(this.EmpowerRuneWeaponPercent_ValueChanged);
            this.Trinket2.FormattingEnabled = true;
            this.Trinket2.Items.AddRange(new object[] { "Never", "Cooldown", "Cooldown (Boss Only)", "Burst Mode", "Lose Control", "My Health Below", "Enemy Health Below" });
            this.Trinket2.Location = new Point(0x3b, 200);
            this.Trinket2.Name = "Trinket2";
            this.Trinket2.Size = new Size(0x83, 0x15);
            this.Trinket2.TabIndex = 0x6b;
            this.Trinket2.SelectedIndexChanged += new EventHandler(this.Trinket2_SelectedIndexChanged);
            this.label9.AutoSize = true;
            this.label9.Location = new Point(6, 0x15);
            this.label9.Name = "label9";
            this.label9.Size = new Size(0x1f, 13);
            this.label9.TabIndex = 0x65;
            this.label9.Text = "Burst";
            this.label12.AutoSize = true;
            this.label12.Location = new Point(6, 0xb0);
            this.label12.Name = "label12";
            this.label12.Size = new Size(0x31, 13);
            this.label12.TabIndex = 0x6c;
            this.label12.Text = "Trinket 1";
            this.label8.AutoSize = true;
            this.label8.Location = new Point(6, 0x7d);
            this.label8.Name = "label8";
            this.label8.Size = new Size(0x3f, 13);
            this.label8.TabIndex = 0x6f;
            this.label8.Text = "Raise Dead";
            this.label13.AutoSize = true;
            this.label13.Location = new Point(6, 0xca);
            this.label13.Name = "label13";
            this.label13.Size = new Size(0x31, 13);
            this.label13.TabIndex = 0x6d;
            this.label13.Text = "Trinket 2";
            this.RaiseDead.FormattingEnabled = true;
            this.RaiseDead.Items.AddRange(new object[] { "Never", "Cooldown", "Cooldown (Boss Only)", "Burst Mode", "Enemy Health Below" });
            this.RaiseDead.Location = new Point(90, 0x7a);
            this.RaiseDead.Name = "RaiseDead";
            this.RaiseDead.Size = new Size(100, 0x15);
            this.RaiseDead.TabIndex = 110;
            this.RaiseDead.SelectedIndexChanged += new EventHandler(this.RaiseDead_SelectedIndexChanged);
            this.BurstKey.FormattingEnabled = true;
            this.BurstKey.Items.AddRange(new object[] { 
                "Never", "Cooldown", "Cooldown (Boss Only)", "Heroism/Blood Lust", "Lose Control", "My Health Below", "Enemy Health Below", "Ctrl + A", "Ctrl + B", "Ctrl + C", "Ctrl + D", "Ctrl + E", "Ctrl + F", "Ctrl + G", "Ctrl + H", "Ctrl + I", 
                "Ctrl + J", "Ctrl + K", "Ctrl + L", "Ctrl + M", "Ctrl + N", "Ctrl + O", "Ctrl + P", "Ctrl + Q", "Ctrl + R", "Ctrl + S", "Ctrl + T", "Ctrl + U", "Ctrl + V", "Ctrl + W", "Ctrl + X", "Ctrl + Y", 
                "Ctrl + Z", "Ctrl + 1", "Ctrl + 2", "Ctrl + 3", "Ctrl + 4", "Ctrl + 5", "Ctrl + 6", "Ctrl + 7", "Ctrl + 8", "Ctrl + 9", "Ctrl + 0", "Ctrl + Up", "Ctrl + Down", "Ctrl + Left", "Ctrl + Right"
             });
            this.BurstKey.Location = new Point(0x3b, 0x12);
            this.BurstKey.Name = "BurstKey";
            this.BurstKey.Size = new Size(0x83, 0x15);
            this.BurstKey.TabIndex = 100;
            this.BurstKey.SelectedIndexChanged += new EventHandler(this.BurstKey_SelectedIndexChanged);
            this.label14.AutoSize = true;
            this.label14.Location = new Point(6, 150);
            this.label14.Name = "label14";
            this.label14.Size = new Size(0x33, 13);
            this.label14.TabIndex = 110;
            this.label14.Text = "Prof. Buff";
            int[] numArray6 = new int[4];
            numArray6[0] = 5;
            this.RaiseDeadPercent.Increment = new decimal(numArray6);
            this.RaiseDeadPercent.Location = new Point(0xc4, 0x7b);
            this.RaiseDeadPercent.Name = "RaiseDeadPercent";
            this.RaiseDeadPercent.Size = new Size(40, 20);
            this.RaiseDeadPercent.TabIndex = 0x6d;
            this.RaiseDeadPercent.ValueChanged += new EventHandler(this.RaiseDeadPercent_ValueChanged);
            int[] numArray7 = new int[4];
            numArray7[0] = 5;
            this.ProfBuffHP.Increment = new decimal(numArray7);
            this.ProfBuffHP.Location = new Point(0xc4, 0x95);
            this.ProfBuffHP.Name = "ProfBuffHP";
            this.ProfBuffHP.Size = new Size(40, 20);
            this.ProfBuffHP.TabIndex = 0x6f;
            this.ProfBuffHP.ValueChanged += new EventHandler(this.ProfBuffHP_ValueChanged);
            this.ProfBuff.FormattingEnabled = true;
            this.ProfBuff.Items.AddRange(new object[] { "Never", "Cooldown", "Cooldown (Boss Only)", "Burst Mode", "Lose Control", "My Health Below", "Enemy Health Below" });
            this.ProfBuff.Location = new Point(0x3b, 0x95);
            this.ProfBuff.Name = "ProfBuff";
            this.ProfBuff.Size = new Size(0x83, 0x15);
            this.ProfBuff.TabIndex = 0x70;
            this.ProfBuff.SelectedIndexChanged += new EventHandler(this.ProfBuff_SelectedIndexChanged);
            this.label18.AutoSize = true;
            this.label18.Location = new Point(6, 0x63);
            this.label18.Name = "label18";
            this.label18.Size = new Size(0x43, 13);
            this.label18.TabIndex = 0x72;
            this.label18.Text = "Pillar of Frost";
            this.PillarofFrost.FormattingEnabled = true;
            this.PillarofFrost.Items.AddRange(new object[] { "Never", "Cooldown", "Cooldown (Boss Only)", "Burst Mode", "Enemy Health Below" });
            this.PillarofFrost.Location = new Point(90, 0x60);
            this.PillarofFrost.Name = "PillarofFrost";
            this.PillarofFrost.Size = new Size(100, 0x15);
            this.PillarofFrost.TabIndex = 0x71;
            this.PillarofFrost.SelectedIndexChanged += new EventHandler(this.PillarofFrost_SelectedIndexChanged);
            int[] numArray8 = new int[4];
            numArray8[0] = 5;
            this.PillarofFrostPercent.Increment = new decimal(numArray8);
            this.PillarofFrostPercent.Location = new Point(0xc4, 0x61);
            this.PillarofFrostPercent.Name = "PillarofFrostPercent";
            this.PillarofFrostPercent.Size = new Size(40, 20);
            this.PillarofFrostPercent.TabIndex = 0x70;
            this.PillarofFrostPercent.ValueChanged += new EventHandler(this.PillarofFrostPercent_ValueChanged);
            this.label19.AutoSize = true;
            this.label19.Location = new Point(6, 0x49);
            this.label19.Name = "label19";
            this.label19.Size = new Size(80, 13);
            this.label19.TabIndex = 0x75;
            this.label19.Text = "Empower Rune";
            this.EmpowerRuneWeapon.FormattingEnabled = true;
            this.EmpowerRuneWeapon.Items.AddRange(new object[] { "Never", "Cooldown", "Cooldown (Boss Only)", "Burst Mode", "Enemy Health Below" });
            this.EmpowerRuneWeapon.Location = new Point(90, 70);
            this.EmpowerRuneWeapon.Name = "EmpowerRuneWeapon";
            this.EmpowerRuneWeapon.Size = new Size(100, 0x15);
            this.EmpowerRuneWeapon.TabIndex = 0x74;
            this.EmpowerRuneWeapon.SelectedIndexChanged += new EventHandler(this.EmpowerRuneWeapon_SelectedIndexChanged);
            this.groupBox3.Controls.Add(this.FlagReturnorPickup);
            this.groupBox3.Controls.Add(this.AutoPrecence);
            this.groupBox3.Controls.Add(this.AutoAoE);
            this.groupBox3.Controls.Add(this.UseFood);
            this.groupBox3.Controls.Add(this.Backward);
            this.groupBox3.Controls.Add(this.PauseKey);
            this.groupBox3.Controls.Add(this.TurnLeft);
            this.groupBox3.Controls.Add(this.label17);
            this.groupBox3.Controls.Add(this.label16);
            this.groupBox3.Controls.Add(this.label15);
            this.groupBox3.Controls.Add(this.TurnRight);
            this.groupBox3.Controls.Add(this.StrafleLeft);
            this.groupBox3.Controls.Add(this.Forward);
            this.groupBox3.Controls.Add(this.AttackOOC);
            this.groupBox3.Controls.Add(this.StrafleRight);
            this.groupBox3.Controls.Add(this.AutoFace);
            this.groupBox3.Controls.Add(this.label4);
            this.groupBox3.Controls.Add(this.AutoPathofFrost);
            this.groupBox3.Controls.Add(this.label5);
            this.groupBox3.Controls.Add(this.AutoTaunt);
            this.groupBox3.Controls.Add(this.label6);
            this.groupBox3.Controls.Add(this.UnittoStartAoE);
            this.groupBox3.Controls.Add(this.label7);
            this.groupBox3.Controls.Add(this.label10);
            this.groupBox3.Controls.Add(this.AutoRaiseAlly);
            this.groupBox3.Controls.Add(this.AutoRacial);
            this.groupBox3.Controls.Add(this.AutoBuff);
            this.groupBox3.Controls.Add(this.AutoMove);
            this.groupBox3.Controls.Add(this.AutoTarget);
            this.groupBox3.Controls.Add(this.UseFoodHP);
            this.groupBox3.Location = new Point(0x1f6, 6);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new Size(0xf4, 0x173);
            this.groupBox3.TabIndex = 2;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "Other Settings";
            this.FlagReturnorPickup.AutoSize = true;
            this.FlagReturnorPickup.Location = new Point(6, 0x8a);
            this.FlagReturnorPickup.Name = "FlagReturnorPickup";
            this.FlagReturnorPickup.Size = new Size(0x77, 0x11);
            this.FlagReturnorPickup.TabIndex = 170;
            this.FlagReturnorPickup.Text = "Pickup/Return Flag";
            this.FlagReturnorPickup.UseVisualStyleBackColor = true;
            this.FlagReturnorPickup.CheckedChanged += new EventHandler(this.FlagReturnorPickup_CheckedChanged);
            this.AutoPrecence.AutoSize = true;
            this.AutoPrecence.Location = new Point(6, 0x45);
            this.AutoPrecence.Name = "AutoPrecence";
            this.AutoPrecence.Size = new Size(0x60, 0x11);
            this.AutoPrecence.TabIndex = 0xa9;
            this.AutoPrecence.Text = "Auto Presence";
            this.AutoPrecence.UseVisualStyleBackColor = true;
            this.AutoPrecence.CheckedChanged += new EventHandler(this.AutoPrecence_CheckedChanged);
            this.AutoAoE.AutoSize = true;
            this.AutoAoE.Location = new Point(6, 0xc7);
            this.AutoAoE.Name = "AutoAoE";
            this.AutoAoE.Size = new Size(0xbf, 0x11);
            this.AutoAoE.TabIndex = 130;
            this.AutoAoE.Text = "Start AoE Rotation on Number Unit";
            this.AutoAoE.UseVisualStyleBackColor = true;
            this.AutoAoE.CheckedChanged += new EventHandler(this.AutoAoE_CheckedChanged);
            this.UseFood.AutoSize = true;
            this.UseFood.Location = new Point(6, 0xe1);
            this.UseFood.Name = "UseFood";
            this.UseFood.Size = new Size(0x7a, 0x11);
            this.UseFood.TabIndex = 0x81;
            this.UseFood.Text = "Use Food HP Below";
            this.UseFood.UseVisualStyleBackColor = true;
            this.UseFood.CheckedChanged += new EventHandler(this.UseFood_CheckedChanged);
            this.Backward.FormattingEnabled = true;
            this.Backward.Items.AddRange(new object[] { 
                "None", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", 
                "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "1", "2", "3", "4", "5", 
                "6", "7", "8", "9", "0", "Up", "Down", "Left", "Right"
             });
            this.Backward.Location = new Point(0x56, 330);
            this.Backward.Name = "Backward";
            this.Backward.Size = new Size(0x49, 0x15);
            this.Backward.TabIndex = 0x4e;
            this.Backward.SelectedIndexChanged += new EventHandler(this.Backward_SelectedIndexChanged);
            this.PauseKey.FormattingEnabled = true;
            this.PauseKey.Items.AddRange(new object[] { 
                "None", "Ctrl + A", "Ctrl + B", "Ctrl + C", "Ctrl + D", "Ctrl + E", "Ctrl + F", "Ctrl + G", "Ctrl + H", "Ctrl + I", "Ctrl + J", "Ctrl + K", "Ctrl + L", "Ctrl + M", "Ctrl + N", "Ctrl + O", 
                "Ctrl + P", "Ctrl + Q", "Ctrl + R", "Ctrl + S", "Ctrl + T", "Ctrl + U", "Ctrl + V", "Ctrl + W", "Ctrl + X", "Ctrl + Y", "Ctrl + Z", "Ctrl + 1", "Ctrl + 2", "Ctrl + 3", "Ctrl + 4", "Ctrl + 5", 
                "Ctrl + 6", "Ctrl + 7", "Ctrl + 8", "Ctrl + 9", "Ctrl + 0", "Ctrl + Up", "Ctrl + Down", "Ctrl + Left", "Ctrl + Right"
             });
            this.PauseKey.Location = new Point(0xa5, 250);
            this.PauseKey.Name = "PauseKey";
            this.PauseKey.Size = new Size(0x49, 0x15);
            this.PauseKey.TabIndex = 0x54;
            this.PauseKey.SelectedIndexChanged += new EventHandler(this.PauseKey_SelectedIndexChanged);
            this.TurnLeft.FormattingEnabled = true;
            this.TurnLeft.Items.AddRange(new object[] { 
                "None", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", 
                "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "1", "2", "3", "4", "5", 
                "6", "7", "8", "9", "0", "Up", "Down", "Left", "Right"
             });
            this.TurnLeft.Location = new Point(6, 330);
            this.TurnLeft.Name = "TurnLeft";
            this.TurnLeft.Size = new Size(0x49, 0x15);
            this.TurnLeft.TabIndex = 0x4d;
            this.TurnLeft.SelectedIndexChanged += new EventHandler(this.TurnLeft_SelectedIndexChanged);
            this.label17.AutoSize = true;
            this.label17.Location = new Point(0x12, 0x162);
            this.label17.Name = "label17";
            this.label17.Size = new Size(50, 13);
            this.label17.TabIndex = 0x47;
            this.label17.Text = "Turn Left";
            this.label16.AutoSize = true;
            this.label16.Location = new Point(0x5f, 0x162);
            this.label16.Name = "label16";
            this.label16.Size = new Size(0x37, 13);
            this.label16.TabIndex = 0x43;
            this.label16.Text = "Backward";
            this.label15.AutoSize = true;
            this.label15.Location = new Point(0xae, 0x162);
            this.label15.Name = "label15";
            this.label15.Size = new Size(0x39, 13);
            this.label15.TabIndex = 70;
            this.label15.Text = "Turn Right";
            this.TurnRight.FormattingEnabled = true;
            this.TurnRight.Items.AddRange(new object[] { 
                "None", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", 
                "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "1", "2", "3", "4", "5", 
                "6", "7", "8", "9", "0", "Up", "Down", "Left", "Right"
             });
            this.TurnRight.Location = new Point(0xa5, 330);
            this.TurnRight.Name = "TurnRight";
            this.TurnRight.Size = new Size(0x49, 0x15);
            this.TurnRight.TabIndex = 0x4f;
            this.TurnRight.SelectedIndexChanged += new EventHandler(this.TurnRight_SelectedIndexChanged);
            this.StrafleLeft.FormattingEnabled = true;
            this.StrafleLeft.Items.AddRange(new object[] { 
                "None", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", 
                "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "1", "2", "3", "4", "5", 
                "6", "7", "8", "9", "0", "Up", "Down", "Left", "Right"
             });
            this.StrafleLeft.Location = new Point(6, 0x12f);
            this.StrafleLeft.Name = "StrafleLeft";
            this.StrafleLeft.Size = new Size(0x49, 0x15);
            this.StrafleLeft.TabIndex = 0x4a;
            this.StrafleLeft.SelectedIndexChanged += new EventHandler(this.StrafleLeft_SelectedIndexChanged);
            this.Forward.FormattingEnabled = true;
            this.Forward.Items.AddRange(new object[] { 
                "None", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", 
                "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "1", "2", "3", "4", "5", 
                "6", "7", "8", "9", "0", "Up", "Down", "Left", "Right"
             });
            this.Forward.Location = new Point(0x56, 0x12f);
            this.Forward.Name = "Forward";
            this.Forward.Size = new Size(0x49, 0x15);
            this.Forward.TabIndex = 0x4b;
            this.Forward.SelectedIndexChanged += new EventHandler(this.Forward_SelectedIndexChanged);
            this.AttackOOC.AutoSize = true;
            this.AttackOOC.Location = new Point(6, 0x73);
            this.AttackOOC.Name = "AttackOOC";
            this.AttackOOC.Size = new Size(0x80, 0x11);
            this.AttackOOC.TabIndex = 0x60;
            this.AttackOOC.Text = "Attack Out of Combat";
            this.AttackOOC.UseVisualStyleBackColor = true;
            this.AttackOOC.CheckedChanged += new EventHandler(this.AttackOOC_CheckedChanged);
            this.StrafleRight.FormattingEnabled = true;
            this.StrafleRight.Items.AddRange(new object[] { 
                "None", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", 
                "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "1", "2", "3", "4", "5", 
                "6", "7", "8", "9", "0", "Up", "Down", "Left", "Right"
             });
            this.StrafleRight.Location = new Point(0xa5, 0x12f);
            this.StrafleRight.Name = "StrafleRight";
            this.StrafleRight.Size = new Size(0x49, 0x15);
            this.StrafleRight.TabIndex = 0x4c;
            this.StrafleRight.SelectedIndexChanged += new EventHandler(this.StrafleRight_SelectedIndexChanged);
            this.AutoFace.AutoSize = true;
            this.AutoFace.Location = new Point(0x86, 0x17);
            this.AutoFace.Name = "AutoFace";
            this.AutoFace.Size = new Size(0x4b, 0x11);
            this.AutoFace.TabIndex = 0x5d;
            this.AutoFace.Text = "Auto Face";
            this.AutoFace.UseVisualStyleBackColor = true;
            this.AutoFace.CheckedChanged += new EventHandler(this.Face_CheckedChanged);
            this.label4.AutoSize = true;
            this.label4.Location = new Point(14, 0x11f);
            this.label4.Name = "label4";
            this.label4.Size = new Size(0x3a, 13);
            this.label4.TabIndex = 0x45;
            this.label4.Text = "Strafle Left";
            this.AutoPathofFrost.AutoSize = true;
            this.AutoPathofFrost.Location = new Point(0x86, 0x2e);
            this.AutoPathofFrost.Name = "AutoPathofFrost";
            this.AutoPathofFrost.Size = new Size(0x6f, 0x11);
            this.AutoPathofFrost.TabIndex = 0x5c;
            this.AutoPathofFrost.Text = "Auto Path of Frost";
            this.AutoPathofFrost.UseVisualStyleBackColor = true;
            this.AutoPathofFrost.CheckedChanged += new EventHandler(this.AutoPathofFrost_CheckedChanged);
            this.label5.AutoSize = true;
            this.label5.Location = new Point(100, 0x11f);
            this.label5.Name = "label5";
            this.label5.Size = new Size(0x2d, 13);
            this.label5.TabIndex = 0x48;
            this.label5.Text = "Forward";
            this.AutoTaunt.AutoSize = true;
            this.AutoTaunt.Location = new Point(0x86, 0x73);
            this.AutoTaunt.Name = "AutoTaunt";
            this.AutoTaunt.Size = new Size(0x4f, 0x11);
            this.AutoTaunt.TabIndex = 0x5b;
            this.AutoTaunt.Text = "Auto Taunt";
            this.AutoTaunt.UseVisualStyleBackColor = true;
            this.AutoTaunt.CheckedChanged += new EventHandler(this.AutoTaunt_CheckedChanged);
            this.label6.AutoSize = true;
            this.label6.Location = new Point(0xa9, 0x11f);
            this.label6.Name = "label6";
            this.label6.Size = new Size(0x41, 13);
            this.label6.TabIndex = 0x44;
            this.label6.Text = "Strafle Right";
            this.UnittoStartAoE.Location = new Point(0xc6, 0xc6);
            this.UnittoStartAoE.Name = "UnittoStartAoE";
            this.UnittoStartAoE.Size = new Size(40, 20);
            this.UnittoStartAoE.TabIndex = 0x7b;
            this.UnittoStartAoE.ValueChanged += new EventHandler(this.UnittoStartAoE_ValueChanged);
            this.label7.AutoSize = true;
            this.label7.Location = new Point(8, 0x112);
            this.label7.Name = "label7";
            this.label7.Size = new Size(230, 13);
            this.label7.TabIndex = 0x49;
            this.label7.Text = "Override  Hotkeys to take control of movement ";
            this.label10.AutoSize = true;
            this.label10.Location = new Point(8, 0xfe);
            this.label10.Name = "label10";
            this.label10.Size = new Size(0x67, 13);
            this.label10.TabIndex = 0x55;
            this.label10.Text = "Toggle Pause Mode";
            this.AutoRaiseAlly.AutoSize = true;
            this.AutoRaiseAlly.Location = new Point(6, 0x5c);
            this.AutoRaiseAlly.Name = "AutoRaiseAlly";
            this.AutoRaiseAlly.Size = new Size(0x61, 0x11);
            this.AutoRaiseAlly.TabIndex = 90;
            this.AutoRaiseAlly.Text = "Auto Raise Ally";
            this.AutoRaiseAlly.UseVisualStyleBackColor = true;
            this.AutoRaiseAlly.CheckedChanged += new EventHandler(this.AutoRaiseAlly_CheckedChanged);
            this.AutoRacial.AutoSize = true;
            this.AutoRacial.Location = new Point(0x86, 0x45);
            this.AutoRacial.Name = "AutoRacial";
            this.AutoRacial.Size = new Size(0x51, 0x11);
            this.AutoRacial.TabIndex = 0x59;
            this.AutoRacial.Text = "Auto Racial";
            this.AutoRacial.UseVisualStyleBackColor = true;
            this.AutoRacial.CheckedChanged += new EventHandler(this.AutoRacial_CheckedChanged);
            this.AutoBuff.AutoSize = true;
            this.AutoBuff.Location = new Point(6, 0x17);
            this.AutoBuff.Name = "AutoBuff";
            this.AutoBuff.Size = new Size(70, 0x11);
            this.AutoBuff.TabIndex = 0x58;
            this.AutoBuff.Text = "Auto Buff";
            this.AutoBuff.UseVisualStyleBackColor = true;
            this.AutoBuff.CheckedChanged += new EventHandler(this.Buff_CheckedChanged);
            this.AutoMove.AutoSize = true;
            this.AutoMove.Location = new Point(6, 0x2e);
            this.AutoMove.Name = "AutoMove";
            this.AutoMove.Size = new Size(0x4e, 0x11);
            this.AutoMove.TabIndex = 0x57;
            this.AutoMove.Text = "Auto Move";
            this.AutoMove.UseVisualStyleBackColor = true;
            this.AutoMove.CheckedChanged += new EventHandler(this.AutoMove_CheckedChanged);
            this.AutoTarget.AutoSize = true;
            this.AutoTarget.Location = new Point(0x86, 0x5c);
            this.AutoTarget.Name = "AutoTarget";
            this.AutoTarget.Size = new Size(0x52, 0x11);
            this.AutoTarget.TabIndex = 0x56;
            this.AutoTarget.Text = "Auto Target";
            this.AutoTarget.UseVisualStyleBackColor = true;
            this.AutoTarget.CheckedChanged += new EventHandler(this.AutoTarget_CheckedChanged);
            int[] numArray9 = new int[4];
            numArray9[0] = 5;
            this.UseFoodHP.Increment = new decimal(numArray9);
            this.UseFoodHP.Location = new Point(0xc6, 0xe0);
            this.UseFoodHP.Name = "UseFoodHP";
            this.UseFoodHP.Size = new Size(40, 20);
            this.UseFoodHP.TabIndex = 0x51;
            this.UseFoodHP.ValueChanged += new EventHandler(this.StartEating_ValueChanged);
            this.groupBox2.Controls.Add(this.BloodPresence);
            this.groupBox2.Controls.Add(this.BloodPresenceHP);
            this.groupBox2.Controls.Add(this.AntiMagicShellEnemy);
            this.groupBox2.Controls.Add(this.AntiMagicShellEnemyHP);
            this.groupBox2.Controls.Add(this.AntiMagicShellCaster);
            this.groupBox2.Controls.Add(this.AntiMagicShellCasterNumber);
            this.groupBox2.Controls.Add(this.AntiMagicShellDebuff);
            this.groupBox2.Controls.Add(this.AntiMagicShellDebuffNumber);
            this.groupBox2.Controls.Add(this.AntiMagicShellLichborne);
            this.groupBox2.Controls.Add(this.DancingRuneWeapon);
            this.groupBox2.Controls.Add(this.DancingRuneWeaponHP);
            this.groupBox2.Controls.Add(this.IceboundFortitudeStunDuration);
            this.groupBox2.Controls.Add(this.IceboundFortitudeStun);
            this.groupBox2.Controls.Add(this.VampiricBlood);
            this.groupBox2.Controls.Add(this.RuneTap);
            this.groupBox2.Controls.Add(this.HealthStone);
            this.groupBox2.Controls.Add(this.IceboundFortitude);
            this.groupBox2.Controls.Add(this.DeathStrike);
            this.groupBox2.Controls.Add(this.AntiMagicShell);
            this.groupBox2.Controls.Add(this.VampiricBloodHP);
            this.groupBox2.Controls.Add(this.HealthStoneHP);
            this.groupBox2.Controls.Add(this.RuneTapHP);
            this.groupBox2.Controls.Add(this.AntiMagicShellHP);
            this.groupBox2.Controls.Add(this.IceboundFortitudeHP);
            this.groupBox2.Controls.Add(this.DeathStrikeHP);
            this.groupBox2.Location = new Point(0xfe, 6);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new Size(0xf2, 0x173);
            this.groupBox2.TabIndex = 1;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "Survive";
            this.BloodPresence.AutoSize = true;
            this.BloodPresence.Location = new Point(6, 0x91);
            this.BloodPresence.Name = "BloodPresence";
            this.BloodPresence.Size = new Size(0x97, 0x11);
            this.BloodPresence.TabIndex = 0xa3;
            this.BloodPresence.Text = "Blood Presence HP Below";
            this.BloodPresence.UseVisualStyleBackColor = true;
            this.BloodPresence.CheckedChanged += new EventHandler(this.BloodPresence_CheckedChanged);
            int[] numArray10 = new int[4];
            numArray10[0] = 5;
            this.BloodPresenceHP.Increment = new decimal(numArray10);
            this.BloodPresenceHP.Location = new Point(0xc4, 0x8f);
            this.BloodPresenceHP.Name = "BloodPresenceHP";
            this.BloodPresenceHP.Size = new Size(40, 20);
            this.BloodPresenceHP.TabIndex = 0xa2;
            this.BloodPresenceHP.ValueChanged += new EventHandler(this.BloodPresenceHP_ValueChanged);
            this.AntiMagicShellEnemy.AutoSize = true;
            this.AntiMagicShellEnemy.Location = new Point(6, 0x76);
            this.AntiMagicShellEnemy.Name = "AntiMagicShellEnemy";
            this.AntiMagicShellEnemy.Size = new Size(0xb3, 0x11);
            this.AntiMagicShellEnemy.TabIndex = 160;
            this.AntiMagicShellEnemy.Text = "AMS If Current Target HP Below";
            this.AntiMagicShellEnemy.UseVisualStyleBackColor = true;
            this.AntiMagicShellEnemy.CheckedChanged += new EventHandler(this.AntiMagicShellEnemy_CheckedChanged);
            this.AntiMagicShellEnemyHP.Location = new Point(0xc4, 0x75);
            this.AntiMagicShellEnemyHP.Name = "AntiMagicShellEnemyHP";
            this.AntiMagicShellEnemyHP.Size = new Size(40, 20);
            this.AntiMagicShellEnemyHP.TabIndex = 0x9f;
            this.AntiMagicShellEnemyHP.ValueChanged += new EventHandler(this.AntiMagicShellEnemyHP_ValueChanged);
            this.AntiMagicShellCaster.AutoSize = true;
            this.AntiMagicShellCaster.Location = new Point(6, 0x5c);
            this.AntiMagicShellCaster.Name = "AntiMagicShellCaster";
            this.AntiMagicShellCaster.Size = new Size(0xaf, 0x11);
            this.AntiMagicShellCaster.TabIndex = 0x9b;
            this.AntiMagicShellCaster.Text = "AMS If Targeted by Magic DPS";
            this.AntiMagicShellCaster.UseVisualStyleBackColor = true;
            this.AntiMagicShellCaster.CheckedChanged += new EventHandler(this.AntiMagicShellCaster_CheckedChanged);
            this.AntiMagicShellCasterNumber.Location = new Point(0xc4, 0x5b);
            this.AntiMagicShellCasterNumber.Name = "AntiMagicShellCasterNumber";
            this.AntiMagicShellCasterNumber.Size = new Size(40, 20);
            this.AntiMagicShellCasterNumber.TabIndex = 0x9a;
            this.AntiMagicShellCasterNumber.ValueChanged += new EventHandler(this.AntiMagicShellCasterNumber_ValueChanged);
            this.AntiMagicShellDebuff.AutoSize = true;
            this.AntiMagicShellDebuff.Location = new Point(6, 0x42);
            this.AntiMagicShellDebuff.Name = "AntiMagicShellDebuff";
            this.AntiMagicShellDebuff.Size = new Size(0xb8, 0x11);
            this.AntiMagicShellDebuff.TabIndex = 0x99;
            this.AntiMagicShellDebuff.Text = "Anti-Magic Shell on Magic Debuff";
            this.AntiMagicShellDebuff.UseVisualStyleBackColor = true;
            this.AntiMagicShellDebuff.CheckedChanged += new EventHandler(this.AntiMagicShellDebuff_CheckedChanged);
            this.AntiMagicShellDebuffNumber.Location = new Point(0xc4, 0x41);
            this.AntiMagicShellDebuffNumber.Name = "AntiMagicShellDebuffNumber";
            this.AntiMagicShellDebuffNumber.Size = new Size(40, 20);
            this.AntiMagicShellDebuffNumber.TabIndex = 0x98;
            this.AntiMagicShellDebuffNumber.ValueChanged += new EventHandler(this.AntiMagicShellDebuffNumber_ValueChanged);
            this.AntiMagicShellLichborne.AutoSize = true;
            this.AntiMagicShellLichborne.Location = new Point(6, 0x2b);
            this.AntiMagicShellLichborne.Name = "AntiMagicShellLichborne";
            this.AntiMagicShellLichborne.Size = new Size(240, 0x11);
            this.AntiMagicShellLichborne.TabIndex = 0x97;
            this.AntiMagicShellLichborne.Text = "Anti-Magic Shell Protect Lichborne (Turn Evil)";
            this.AntiMagicShellLichborne.UseVisualStyleBackColor = true;
            this.AntiMagicShellLichborne.CheckedChanged += new EventHandler(this.AntiMagicShellLichborne_CheckedChanged);
            this.DancingRuneWeapon.AutoSize = true;
            this.DancingRuneWeapon.Location = new Point(6, 0xab);
            this.DancingRuneWeapon.Name = "DancingRuneWeapon";
            this.DancingRuneWeapon.Size = new Size(0xbd, 0x11);
            this.DancingRuneWeapon.TabIndex = 0x91;
            this.DancingRuneWeapon.Text = "Dancing Rune Weapon HP Below";
            this.DancingRuneWeapon.UseVisualStyleBackColor = true;
            this.DancingRuneWeapon.CheckedChanged += new EventHandler(this.DancingRuneWeapon_CheckedChanged);
            int[] numArray11 = new int[4];
            numArray11[0] = 5;
            this.DancingRuneWeaponHP.Increment = new decimal(numArray11);
            this.DancingRuneWeaponHP.Location = new Point(0xc4, 0xa9);
            this.DancingRuneWeaponHP.Name = "DancingRuneWeaponHP";
            this.DancingRuneWeaponHP.Size = new Size(40, 20);
            this.DancingRuneWeaponHP.TabIndex = 0x90;
            this.DancingRuneWeaponHP.ValueChanged += new EventHandler(this.DancingRuneWeaponHP_ValueChanged);
            int[] numArray12 = new int[4];
            numArray12[0] = 100;
            this.IceboundFortitudeStunDuration.Increment = new decimal(numArray12);
            this.IceboundFortitudeStunDuration.Location = new Point(0xba, 0xf7);
            int[] numArray13 = new int[4];
            numArray13[0] = 0x2710;
            this.IceboundFortitudeStunDuration.Maximum = new decimal(numArray13);
            this.IceboundFortitudeStunDuration.Name = "IceboundFortitudeStunDuration";
            this.IceboundFortitudeStunDuration.Size = new Size(50, 20);
            this.IceboundFortitudeStunDuration.TabIndex = 0x85;
            this.IceboundFortitudeStunDuration.ValueChanged += new EventHandler(this.IceboundFortitudeStunDuration_ValueChanged);
            this.IceboundFortitudeStun.AutoSize = true;
            this.IceboundFortitudeStun.Location = new Point(6, 0xf9);
            this.IceboundFortitudeStun.Name = "IceboundFortitudeStun";
            this.IceboundFortitudeStun.Size = new Size(0xb7, 0x11);
            this.IceboundFortitudeStun.TabIndex = 0x8e;
            this.IceboundFortitudeStun.Text = "Icebound Fortitude Stun Duration";
            this.IceboundFortitudeStun.UseVisualStyleBackColor = true;
            this.IceboundFortitudeStun.CheckedChanged += new EventHandler(this.IceboundFortitudeStun_CheckedChanged);
            this.VampiricBlood.AutoSize = true;
            this.VampiricBlood.Location = new Point(6, 0x147);
            this.VampiricBlood.Name = "VampiricBlood";
            this.VampiricBlood.Size = new Size(0x92, 0x11);
            this.VampiricBlood.TabIndex = 0x8b;
            this.VampiricBlood.Text = "Vampiric Blood HP Below";
            this.VampiricBlood.UseVisualStyleBackColor = true;
            this.VampiricBlood.CheckedChanged += new EventHandler(this.VampiricBlood_CheckedChanged);
            this.RuneTap.AutoSize = true;
            this.RuneTap.Location = new Point(6, 0x12d);
            this.RuneTap.Name = "RuneTap";
            this.RuneTap.Size = new Size(0x7c, 0x11);
            this.RuneTap.TabIndex = 0x8a;
            this.RuneTap.Text = "Rune Tap HP Below";
            this.RuneTap.UseVisualStyleBackColor = true;
            this.RuneTap.CheckedChanged += new EventHandler(this.RuneTap_CheckedChanged);
            this.HealthStone.AutoSize = true;
            this.HealthStone.Location = new Point(6, 0x113);
            this.HealthStone.Name = "HealthStone";
            this.HealthStone.Size = new Size(0xb0, 0x11);
            this.HealthStone.TabIndex = 0x89;
            this.HealthStone.Text = "Health Stone && Battle Standard ";
            this.HealthStone.UseVisualStyleBackColor = true;
            this.HealthStone.CheckedChanged += new EventHandler(this.HealthStone_CheckedChanged);
            this.IceboundFortitude.AutoSize = true;
            this.IceboundFortitude.Location = new Point(6, 0xdf);
            this.IceboundFortitude.Name = "IceboundFortitude";
            this.IceboundFortitude.Size = new Size(0xa5, 0x11);
            this.IceboundFortitude.TabIndex = 0x88;
            this.IceboundFortitude.Text = "Icebound Fortitude HP Below";
            this.IceboundFortitude.UseVisualStyleBackColor = true;
            this.IceboundFortitude.CheckedChanged += new EventHandler(this.IceboundFortitude_CheckedChanged);
            this.DeathStrike.AutoSize = true;
            this.DeathStrike.Location = new Point(6, 0xc5);
            this.DeathStrike.Name = "DeathStrike";
            this.DeathStrike.Size = new Size(0xbc, 0x11);
            this.DeathStrike.TabIndex = 0x87;
            this.DeathStrike.Text = "Death Strike HP Below (Frost/UH)";
            this.DeathStrike.UseVisualStyleBackColor = true;
            this.DeathStrike.CheckedChanged += new EventHandler(this.DeathStrike_CheckedChanged);
            this.AntiMagicShell.AutoSize = true;
            this.AntiMagicShell.Location = new Point(6, 20);
            this.AntiMagicShell.Name = "AntiMagicShell";
            this.AntiMagicShell.Size = new Size(0x98, 0x11);
            this.AntiMagicShell.TabIndex = 0x85;
            this.AntiMagicShell.Text = "Anti-Magic Shell HP Below";
            this.AntiMagicShell.UseVisualStyleBackColor = true;
            this.AntiMagicShell.CheckedChanged += new EventHandler(this.AntiMagicShell_CheckedChanged);
            int[] numArray14 = new int[4];
            numArray14[0] = 5;
            this.VampiricBloodHP.Increment = new decimal(numArray14);
            this.VampiricBloodHP.Location = new Point(0xc4, 0x145);
            this.VampiricBloodHP.Name = "VampiricBloodHP";
            this.VampiricBloodHP.Size = new Size(40, 20);
            this.VampiricBloodHP.TabIndex = 0x83;
            this.VampiricBloodHP.ValueChanged += new EventHandler(this.VampiricBlood_ValueChanged);
            int[] numArray15 = new int[4];
            numArray15[0] = 5;
            this.HealthStoneHP.Increment = new decimal(numArray15);
            this.HealthStoneHP.Location = new Point(0xc4, 0x111);
            this.HealthStoneHP.Name = "HealthStoneHP";
            this.HealthStoneHP.Size = new Size(40, 20);
            this.HealthStoneHP.TabIndex = 0x67;
            this.HealthStoneHP.ValueChanged += new EventHandler(this.HealthStone_ValueChanged);
            int[] numArray16 = new int[4];
            numArray16[0] = 5;
            this.RuneTapHP.Increment = new decimal(numArray16);
            this.RuneTapHP.Location = new Point(0xc4, 0x12b);
            this.RuneTapHP.Name = "RuneTapHP";
            this.RuneTapHP.Size = new Size(40, 20);
            this.RuneTapHP.TabIndex = 0x81;
            this.RuneTapHP.ValueChanged += new EventHandler(this.RuneTap_ValueChanged);
            int[] numArray17 = new int[4];
            numArray17[0] = 5;
            this.AntiMagicShellHP.Increment = new decimal(numArray17);
            this.AntiMagicShellHP.Location = new Point(0xc4, 0x13);
            this.AntiMagicShellHP.Name = "AntiMagicShellHP";
            this.AntiMagicShellHP.Size = new Size(40, 20);
            this.AntiMagicShellHP.TabIndex = 0x7f;
            this.AntiMagicShellHP.ValueChanged += new EventHandler(this.AntiMagicShellHP_ValueChanged);
            int[] numArray18 = new int[4];
            numArray18[0] = 5;
            this.IceboundFortitudeHP.Increment = new decimal(numArray18);
            this.IceboundFortitudeHP.Location = new Point(0xc4, 0xdd);
            this.IceboundFortitudeHP.Name = "IceboundFortitudeHP";
            this.IceboundFortitudeHP.Size = new Size(40, 20);
            this.IceboundFortitudeHP.TabIndex = 0x7d;
            this.IceboundFortitudeHP.ValueChanged += new EventHandler(this.IceboundFortitude_ValueChanged);
            int[] numArray19 = new int[4];
            numArray19[0] = 5;
            this.DeathStrikeHP.Increment = new decimal(numArray19);
            this.DeathStrikeHP.Location = new Point(0xc4, 0xc3);
            this.DeathStrikeHP.Name = "DeathStrikeHP";
            this.DeathStrikeHP.Size = new Size(40, 20);
            this.DeathStrikeHP.TabIndex = 0x77;
            this.DeathStrikeHP.ValueChanged += new EventHandler(this.DeathStrikePercent_ValueChanged);
            this.groupBox1.Controls.Add(this.StrangulateInterruptTarget);
            this.groupBox1.Controls.Add(this.StrangulateInterruptTargetHP);
            this.groupBox1.Controls.Add(this.InterruptFocus);
            this.groupBox1.Controls.Add(this.InterruptTarget);
            this.groupBox1.Controls.Add(this.InterruptAll);
            this.groupBox1.Controls.Add(this.DeathGripInterrupt);
            this.groupBox1.Controls.Add(this.StrangulateInterrupt);
            this.groupBox1.Controls.Add(this.MindFreezeInterrupt);
            this.groupBox1.Controls.Add(this.DeathGripInterruptMs);
            this.groupBox1.Controls.Add(this.StrangulateInterruptMs);
            this.groupBox1.Controls.Add(this.MindFreezeInterruptMs);
            this.groupBox1.Location = new Point(6, 6);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new Size(0xf2, 0x93);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Interrupt";
            this.StrangulateInterruptTarget.AutoSize = true;
            this.StrangulateInterruptTarget.Location = new Point(6, 0x5f);
            this.StrangulateInterruptTarget.Name = "StrangulateInterruptTarget";
            this.StrangulateInterruptTarget.Size = new Size(0xa2, 0x11);
            this.StrangulateInterruptTarget.TabIndex = 0x89;
            this.StrangulateInterruptTarget.Text = "Only When My Target Below";
            this.StrangulateInterruptTarget.UseVisualStyleBackColor = true;
            this.StrangulateInterruptTarget.CheckedChanged += new EventHandler(this.StrangulateInterruptTarget_CheckedChanged);
            int[] numArray20 = new int[4];
            numArray20[0] = 5;
            this.StrangulateInterruptTargetHP.Increment = new decimal(numArray20);
            this.StrangulateInterruptTargetHP.Location = new Point(0xc4, 0x5d);
            this.StrangulateInterruptTargetHP.Name = "StrangulateInterruptTargetHP";
            this.StrangulateInterruptTargetHP.Size = new Size(40, 20);
            this.StrangulateInterruptTargetHP.TabIndex = 0x88;
            this.StrangulateInterruptTargetHP.ValueChanged += new EventHandler(this.StrangulateInterruptTargetHP_ValueChanged);
            this.InterruptFocus.AutoSize = true;
            this.InterruptFocus.Location = new Point(0x70, 0x13);
            this.InterruptFocus.Name = "InterruptFocus";
            this.InterruptFocus.Size = new Size(0x37, 0x11);
            this.InterruptFocus.TabIndex = 0x87;
            this.InterruptFocus.Text = "Focus";
            this.InterruptFocus.UseVisualStyleBackColor = true;
            this.InterruptFocus.CheckedChanged += new EventHandler(this.InterruptFocus_CheckedChanged);
            this.InterruptTarget.AutoSize = true;
            this.InterruptTarget.Location = new Point(0x31, 0x13);
            this.InterruptTarget.Name = "InterruptTarget";
            this.InterruptTarget.Size = new Size(0x39, 0x11);
            this.InterruptTarget.TabIndex = 0x86;
            this.InterruptTarget.Text = "Target";
            this.InterruptTarget.UseVisualStyleBackColor = true;
            this.InterruptTarget.CheckedChanged += new EventHandler(this.InterruptTarget_CheckedChanged);
            this.InterruptAll.AutoSize = true;
            this.InterruptAll.Location = new Point(6, 0x13);
            this.InterruptAll.Name = "InterruptAll";
            this.InterruptAll.Size = new Size(0x25, 0x11);
            this.InterruptAll.TabIndex = 0x85;
            this.InterruptAll.Text = "All";
            this.InterruptAll.UseVisualStyleBackColor = true;
            this.InterruptAll.CheckedChanged += new EventHandler(this.InterruptAll_CheckedChanged);
            this.DeathGripInterrupt.AutoSize = true;
            this.DeathGripInterrupt.Location = new Point(6, 0x79);
            this.DeathGripInterrupt.Name = "DeathGripInterrupt";
            this.DeathGripInterrupt.Size = new Size(0x8b, 0x11);
            this.DeathGripInterrupt.TabIndex = 0x84;
            this.DeathGripInterrupt.Text = "Death Grip Cast Ms Left";
            this.DeathGripInterrupt.UseVisualStyleBackColor = true;
            this.DeathGripInterrupt.CheckedChanged += new EventHandler(this.DeathGripInterrupt_CheckedChanged);
            this.StrangulateInterrupt.AutoSize = true;
            this.StrangulateInterrupt.Location = new Point(6, 0x45);
            this.StrangulateInterrupt.Name = "StrangulateInterrupt";
            this.StrangulateInterrupt.Size = new Size(0x8e, 0x11);
            this.StrangulateInterrupt.TabIndex = 0x83;
            this.StrangulateInterrupt.Text = "Strangulate Cast Ms Left";
            this.StrangulateInterrupt.UseVisualStyleBackColor = true;
            this.StrangulateInterrupt.CheckedChanged += new EventHandler(this.StrangulateInterrupt_CheckedChanged);
            this.MindFreezeInterrupt.AutoSize = true;
            this.MindFreezeInterrupt.Location = new Point(6, 0x2a);
            this.MindFreezeInterrupt.Name = "MindFreezeInterrupt";
            this.MindFreezeInterrupt.Size = new Size(0x92, 0x11);
            this.MindFreezeInterrupt.TabIndex = 0x81;
            this.MindFreezeInterrupt.Text = "Mind Freeze Cast Ms Left";
            this.MindFreezeInterrupt.UseVisualStyleBackColor = true;
            this.MindFreezeInterrupt.CheckedChanged += new EventHandler(this.MindFreezeInterrupt_CheckedChanged);
            int[] numArray21 = new int[4];
            numArray21[0] = 100;
            this.DeathGripInterruptMs.Increment = new decimal(numArray21);
            this.DeathGripInterruptMs.Location = new Point(0xba, 0x77);
            int[] numArray22 = new int[4];
            numArray22[0] = 0x2710;
            this.DeathGripInterruptMs.Maximum = new decimal(numArray22);
            this.DeathGripInterruptMs.Name = "DeathGripInterruptMs";
            this.DeathGripInterruptMs.Size = new Size(50, 20);
            this.DeathGripInterruptMs.TabIndex = 0x61;
            this.DeathGripInterruptMs.ValueChanged += new EventHandler(this.DeathGripInterrupt_ValueChanged);
            int[] numArray23 = new int[4];
            numArray23[0] = 100;
            this.StrangulateInterruptMs.Increment = new decimal(numArray23);
            this.StrangulateInterruptMs.Location = new Point(0xba, 0x43);
            int[] numArray24 = new int[4];
            numArray24[0] = 0x2710;
            this.StrangulateInterruptMs.Maximum = new decimal(numArray24);
            this.StrangulateInterruptMs.Name = "StrangulateInterruptMs";
            this.StrangulateInterruptMs.Size = new Size(50, 20);
            this.StrangulateInterruptMs.TabIndex = 0x5f;
            this.StrangulateInterruptMs.ValueChanged += new EventHandler(this.Strangulate_ValueChanged);
            int[] numArray25 = new int[4];
            numArray25[0] = 100;
            this.MindFreezeInterruptMs.Increment = new decimal(numArray25);
            this.MindFreezeInterruptMs.Location = new Point(0xba, 0x29);
            int[] numArray26 = new int[4];
            numArray26[0] = 0x2710;
            this.MindFreezeInterruptMs.Maximum = new decimal(numArray26);
            this.MindFreezeInterruptMs.Name = "MindFreezeInterruptMs";
            this.MindFreezeInterruptMs.Size = new Size(50, 20);
            this.MindFreezeInterruptMs.TabIndex = 0x5d;
            this.MindFreezeInterruptMs.ValueChanged += new EventHandler(this.MindFreeze_ValueChanged);
            this.tabPage4.Controls.Add(this.groupBox10);
            this.tabPage4.Controls.Add(this.groupBox8);
            this.tabPage4.Controls.Add(this.groupBox5);
            this.tabPage4.Location = new Point(4, 0x16);
            this.tabPage4.Name = "tabPage4";
            this.tabPage4.Size = new Size(0x2f0, 0x17f);
            this.tabPage4.TabIndex = 3;
            this.tabPage4.Text = "Advanced Settings";
            this.tabPage4.UseVisualStyleBackColor = true;
            this.groupBox10.Controls.Add(this.SoulReaperHP);
            this.groupBox10.Controls.Add(this.StrangulateLowHP);
            this.groupBox10.Controls.Add(this.StrangulateLow);
            this.groupBox10.Controls.Add(this.SoulReaper);
            this.groupBox10.Location = new Point(0xfe, 6);
            this.groupBox10.Name = "groupBox10";
            this.groupBox10.Size = new Size(0xf2, 0x173);
            this.groupBox10.TabIndex = 4;
            this.groupBox10.TabStop = false;
            this.groupBox10.Text = "Advanced Settings";
            int[] numArray27 = new int[4];
            numArray27[0] = 5;
            this.SoulReaperHP.Increment = new decimal(numArray27);
            this.SoulReaperHP.Location = new Point(0xc4, 0x19);
            this.SoulReaperHP.Name = "SoulReaperHP";
            this.SoulReaperHP.Size = new Size(40, 20);
            this.SoulReaperHP.TabIndex = 0x87;
            this.SoulReaperHP.ValueChanged += new EventHandler(this.SoulReaperHP_ValueChanged);
            int[] numArray28 = new int[4];
            numArray28[0] = 5;
            this.StrangulateLowHP.Increment = new decimal(numArray28);
            this.StrangulateLowHP.Location = new Point(0xc4, 0x3d);
            this.StrangulateLowHP.Name = "StrangulateLowHP";
            this.StrangulateLowHP.Size = new Size(40, 20);
            this.StrangulateLowHP.TabIndex = 0x89;
            this.StrangulateLowHP.ValueChanged += new EventHandler(this.StrangulateLowHP_ValueChanged);
            this.StrangulateLow.AutoSize = true;
            this.StrangulateLow.Location = new Point(6, 0x37);
            this.StrangulateLow.Name = "StrangulateLow";
            this.StrangulateLow.Size = new Size(0x7b, 30);
            this.StrangulateLow.TabIndex = 0x8a;
            this.StrangulateLow.Text = "Strangulate Enemy \r\nWhen His HP Below";
            this.StrangulateLow.UseVisualStyleBackColor = true;
            this.StrangulateLow.CheckedChanged += new EventHandler(this.StrangulateLow_CheckedChanged);
            this.SoulReaper.AutoSize = true;
            this.SoulReaper.Location = new Point(6, 0x13);
            this.SoulReaper.Name = "SoulReaper";
            this.SoulReaper.Size = new Size(0x7b, 30);
            this.SoulReaper.TabIndex = 0x88;
            this.SoulReaper.Text = "Soul Reaper Enemy \r\nWhen His HP Below";
            this.SoulReaper.UseVisualStyleBackColor = true;
            this.SoulReaper.CheckedChanged += new EventHandler(this.SoulReaper_CheckedChanged);
            this.groupBox8.Controls.Add(this.LeapRange);
            this.groupBox8.Controls.Add(this.LeapRangeDist);
            this.groupBox8.Controls.Add(this.ChargeStunFriend);
            this.groupBox8.Controls.Add(this.ChargeStunFriendHP);
            this.groupBox8.Controls.Add(this.ChargeInterrupt);
            this.groupBox8.Controls.Add(this.ChargeInterruptMS);
            this.groupBox8.Controls.Add(this.GnawInterrupt);
            this.groupBox8.Controls.Add(this.GnawInterruptMS);
            this.groupBox8.Controls.Add(this.GnawStunFriend);
            this.groupBox8.Controls.Add(this.GnawStunFriendHP);
            this.groupBox8.Controls.Add(this.ChargeStunEnemy);
            this.groupBox8.Controls.Add(this.ChargeStunEnemyHP);
            this.groupBox8.Controls.Add(this.GnawStunEnemy);
            this.groupBox8.Controls.Add(this.GnawStunEnemyHP);
            this.groupBox8.Controls.Add(this.Follow);
            this.groupBox8.Controls.Add(this.FollowDistance);
            this.groupBox8.Controls.Add(this.DeathCoilHealPet);
            this.groupBox8.Controls.Add(this.DeathCoilHealPetHP);
            this.groupBox8.Controls.Add(this.Huddle);
            this.groupBox8.Controls.Add(this.HuddleHP);
            this.groupBox8.Location = new Point(0x1f6, 6);
            this.groupBox8.Name = "groupBox8";
            this.groupBox8.Size = new Size(0xf2, 0x173);
            this.groupBox8.TabIndex = 3;
            this.groupBox8.TabStop = false;
            this.groupBox8.Text = "Pet";
            this.LeapRange.AutoSize = true;
            this.LeapRange.Location = new Point(6, 0x103);
            this.LeapRange.Name = "LeapRange";
            this.LeapRange.Size = new Size(190, 0x11);
            this.LeapRange.TabIndex = 150;
            this.LeapRange.Text = "Leap to Current Target at Distance";
            this.LeapRange.UseVisualStyleBackColor = true;
            this.LeapRange.CheckedChanged += new EventHandler(this.LeapRange_CheckedChanged);
            int[] numArray29 = new int[4];
            numArray29[0] = 5;
            this.LeapRangeDist.Increment = new decimal(numArray29);
            this.LeapRangeDist.Location = new Point(0xc4, 0x102);
            int[] numArray30 = new int[4];
            numArray30[0] = 40;
            this.LeapRangeDist.Maximum = new decimal(numArray30);
            int[] numArray31 = new int[4];
            numArray31[0] = 10;
            this.LeapRangeDist.Minimum = new decimal(numArray31);
            this.LeapRangeDist.Name = "LeapRangeDist";
            this.LeapRangeDist.Size = new Size(40, 20);
            this.LeapRangeDist.TabIndex = 0x95;
            int[] numArray32 = new int[4];
            numArray32[0] = 10;
            this.LeapRangeDist.Value = new decimal(numArray32);
            this.LeapRangeDist.ValueChanged += new EventHandler(this.LeapRangeDist_ValueChanged);
            this.ChargeStunFriend.AutoSize = true;
            this.ChargeStunFriend.Location = new Point(6, 0x4e);
            this.ChargeStunFriend.Name = "ChargeStunFriend";
            this.ChargeStunFriend.Size = new Size(0xa7, 0x11);
            this.ChargeStunFriend.TabIndex = 0x94;
            this.ChargeStunFriend.Text = "Charge Stun Friend HP Below";
            this.ChargeStunFriend.UseVisualStyleBackColor = true;
            this.ChargeStunFriend.CheckedChanged += new EventHandler(this.ChargeStunFriend_CheckedChanged);
            int[] numArray33 = new int[4];
            numArray33[0] = 5;
            this.ChargeStunFriendHP.Increment = new decimal(numArray33);
            this.ChargeStunFriendHP.Location = new Point(0xc4, 0x4d);
            this.ChargeStunFriendHP.Name = "ChargeStunFriendHP";
            this.ChargeStunFriendHP.Size = new Size(40, 20);
            this.ChargeStunFriendHP.TabIndex = 0x93;
            this.ChargeStunFriendHP.ValueChanged += new EventHandler(this.ChargeStunFriendHP_ValueChanged);
            this.ChargeInterrupt.AutoSize = true;
            this.ChargeInterrupt.Location = new Point(6, 0x1b);
            this.ChargeInterrupt.Name = "ChargeInterrupt";
            this.ChargeInterrupt.Size = new Size(0xa4, 0x11);
            this.ChargeInterrupt.TabIndex = 0x92;
            this.ChargeInterrupt.Text = "Charge Interrupt Cast Ms Left";
            this.ChargeInterrupt.UseVisualStyleBackColor = true;
            this.ChargeInterrupt.CheckedChanged += new EventHandler(this.ChargeInterrupt_CheckedChanged);
            int[] numArray34 = new int[4];
            numArray34[0] = 100;
            this.ChargeInterruptMS.Increment = new decimal(numArray34);
            this.ChargeInterruptMS.Location = new Point(0xba, 0x19);
            int[] numArray35 = new int[4];
            numArray35[0] = 0x2710;
            this.ChargeInterruptMS.Maximum = new decimal(numArray35);
            this.ChargeInterruptMS.Name = "ChargeInterruptMS";
            this.ChargeInterruptMS.Size = new Size(50, 20);
            this.ChargeInterruptMS.TabIndex = 0x91;
            this.ChargeInterruptMS.ValueChanged += new EventHandler(this.ChargeInterruptMS_ValueChanged);
            this.GnawInterrupt.AutoSize = true;
            this.GnawInterrupt.Location = new Point(6, 0x9c);
            this.GnawInterrupt.Name = "GnawInterrupt";
            this.GnawInterrupt.Size = new Size(0x9e, 0x11);
            this.GnawInterrupt.TabIndex = 0x90;
            this.GnawInterrupt.Text = "Gnaw Interrupt Cast Ms Left";
            this.GnawInterrupt.UseVisualStyleBackColor = true;
            this.GnawInterrupt.CheckedChanged += new EventHandler(this.GnawInterrupt_CheckedChanged);
            int[] numArray36 = new int[4];
            numArray36[0] = 100;
            this.GnawInterruptMS.Increment = new decimal(numArray36);
            this.GnawInterruptMS.Location = new Point(0xba, 0x9a);
            int[] numArray37 = new int[4];
            numArray37[0] = 0x2710;
            this.GnawInterruptMS.Maximum = new decimal(numArray37);
            this.GnawInterruptMS.Name = "GnawInterruptMS";
            this.GnawInterruptMS.Size = new Size(50, 20);
            this.GnawInterruptMS.TabIndex = 0x8f;
            this.GnawInterruptMS.ValueChanged += new EventHandler(this.GnawInterruptMS_ValueChanged);
            this.GnawStunFriend.AutoSize = true;
            this.GnawStunFriend.Location = new Point(6, 0xcf);
            this.GnawStunFriend.Name = "GnawStunFriend";
            this.GnawStunFriend.Size = new Size(0xa1, 0x11);
            this.GnawStunFriend.TabIndex = 0x8e;
            this.GnawStunFriend.Text = "Gnaw Stun Friend HP Below";
            this.GnawStunFriend.UseVisualStyleBackColor = true;
            this.GnawStunFriend.CheckedChanged += new EventHandler(this.GnawStunFriend_CheckedChanged);
            int[] numArray38 = new int[4];
            numArray38[0] = 5;
            this.GnawStunFriendHP.Increment = new decimal(numArray38);
            this.GnawStunFriendHP.Location = new Point(0xc4, 0xce);
            this.GnawStunFriendHP.Name = "GnawStunFriendHP";
            this.GnawStunFriendHP.Size = new Size(40, 20);
            this.GnawStunFriendHP.TabIndex = 0x8d;
            this.GnawStunFriendHP.ValueChanged += new EventHandler(this.GnawStunFriendHP_ValueChanged);
            this.ChargeStunEnemy.AutoSize = true;
            this.ChargeStunEnemy.Location = new Point(6, 0x34);
            this.ChargeStunEnemy.Name = "ChargeStunEnemy";
            this.ChargeStunEnemy.Size = new Size(170, 0x11);
            this.ChargeStunEnemy.TabIndex = 140;
            this.ChargeStunEnemy.Text = "Charge Stun Enemy HP Below";
            this.ChargeStunEnemy.UseVisualStyleBackColor = true;
            this.ChargeStunEnemy.CheckedChanged += new EventHandler(this.ChargeStunEnemy_CheckedChanged);
            int[] numArray39 = new int[4];
            numArray39[0] = 5;
            this.ChargeStunEnemyHP.Increment = new decimal(numArray39);
            this.ChargeStunEnemyHP.Location = new Point(0xc4, 0x33);
            this.ChargeStunEnemyHP.Name = "ChargeStunEnemyHP";
            this.ChargeStunEnemyHP.Size = new Size(40, 20);
            this.ChargeStunEnemyHP.TabIndex = 0x8b;
            this.ChargeStunEnemyHP.ValueChanged += new EventHandler(this.ChargeStunEnemyHP_ValueChanged);
            this.GnawStunEnemy.AutoSize = true;
            this.GnawStunEnemy.Location = new Point(6, 0xb5);
            this.GnawStunEnemy.Name = "GnawStunEnemy";
            this.GnawStunEnemy.Size = new Size(0xa4, 0x11);
            this.GnawStunEnemy.TabIndex = 0x8a;
            this.GnawStunEnemy.Text = "Gnaw Stun Enemy HP Below";
            this.GnawStunEnemy.UseVisualStyleBackColor = true;
            this.GnawStunEnemy.CheckedChanged += new EventHandler(this.GnawStunEnemy_CheckedChanged);
            int[] numArray40 = new int[4];
            numArray40[0] = 5;
            this.GnawStunEnemyHP.Increment = new decimal(numArray40);
            this.GnawStunEnemyHP.Location = new Point(0xc4, 180);
            this.GnawStunEnemyHP.Name = "GnawStunEnemyHP";
            this.GnawStunEnemyHP.Size = new Size(40, 20);
            this.GnawStunEnemyHP.TabIndex = 0x89;
            this.GnawStunEnemyHP.ValueChanged += new EventHandler(this.GnawStunEnemyHP_ValueChanged);
            this.Follow.AutoSize = true;
            this.Follow.Location = new Point(6, 0x81);
            this.Follow.Name = "Follow";
            this.Follow.Size = new Size(0x6f, 0x11);
            this.Follow.TabIndex = 0x88;
            this.Follow.Text = "Follow if Far Away";
            this.Follow.UseVisualStyleBackColor = true;
            this.Follow.CheckedChanged += new EventHandler(this.Follow_CheckedChanged);
            int[] numArray41 = new int[4];
            numArray41[0] = 5;
            this.FollowDistance.Increment = new decimal(numArray41);
            this.FollowDistance.Location = new Point(0xc4, 0x80);
            this.FollowDistance.Name = "FollowDistance";
            this.FollowDistance.Size = new Size(40, 20);
            this.FollowDistance.TabIndex = 0x87;
            this.FollowDistance.ValueChanged += new EventHandler(this.FollowDistance_ValueChanged);
            this.DeathCoilHealPet.AutoSize = true;
            this.DeathCoilHealPet.Location = new Point(6, 0x68);
            this.DeathCoilHealPet.Name = "DeathCoilHealPet";
            this.DeathCoilHealPet.Size = new Size(0xb3, 0x11);
            this.DeathCoilHealPet.TabIndex = 0x86;
            this.DeathCoilHealPet.Text = "Death Coil Heal when HP Below";
            this.DeathCoilHealPet.UseVisualStyleBackColor = true;
            this.DeathCoilHealPet.CheckedChanged += new EventHandler(this.DeathCoilHealPet_CheckedChanged);
            int[] numArray42 = new int[4];
            numArray42[0] = 5;
            this.DeathCoilHealPetHP.Increment = new decimal(numArray42);
            this.DeathCoilHealPetHP.Location = new Point(0xc4, 0x67);
            this.DeathCoilHealPetHP.Name = "DeathCoilHealPetHP";
            this.DeathCoilHealPetHP.Size = new Size(40, 20);
            this.DeathCoilHealPetHP.TabIndex = 0x85;
            this.DeathCoilHealPetHP.ValueChanged += new EventHandler(this.DeathCoilHealPetHP_ValueChanged);
            this.Huddle.AutoSize = true;
            this.Huddle.Location = new Point(6, 0xe9);
            this.Huddle.Name = "Huddle";
            this.Huddle.Size = new Size(0x8b, 0x11);
            this.Huddle.TabIndex = 0x84;
            this.Huddle.Text = "Huddle when HP Below";
            this.Huddle.UseVisualStyleBackColor = true;
            this.Huddle.CheckedChanged += new EventHandler(this.Huddle_CheckedChanged);
            int[] numArray43 = new int[4];
            numArray43[0] = 5;
            this.HuddleHP.Increment = new decimal(numArray43);
            this.HuddleHP.Location = new Point(0xc4, 0xe8);
            this.HuddleHP.Name = "HuddleHP";
            this.HuddleHP.Size = new Size(40, 20);
            this.HuddleHP.TabIndex = 0x83;
            this.HuddleHP.ValueChanged += new EventHandler(this.HuddleHP_ValueChanged);
            this.groupBox5.Controls.Add(this.AsphyxiateHelpFriend);
            this.groupBox5.Controls.Add(this.AsphyxiateHelpFriendHP);
            this.groupBox5.Controls.Add(this.NecroticStrikeStackBurst);
            this.groupBox5.Controls.Add(this.NecroticStrikeStackDeathRune);
            this.groupBox5.Controls.Add(this.AttackASAP);
            this.groupBox5.Controls.Add(this.DarkSimulacrumon);
            this.groupBox5.Controls.Add(this.DarkSimulacrumonCooldown);
            this.groupBox5.Controls.Add(this.DarkSimulacrumonCast);
            this.groupBox5.Controls.Add(this.ChainofIceMelee);
            this.groupBox5.Controls.Add(this.ChainofIceMeleeHP);
            this.groupBox5.Controls.Add(this.DeathGripMelee);
            this.groupBox5.Controls.Add(this.DeathGripMeleeHP);
            this.groupBox5.Controls.Add(this.ChainsofIce);
            this.groupBox5.Controls.Add(this.ChainsofIceMinDistance);
            this.groupBox5.Controls.Add(this.NecroticStrikeStack);
            this.groupBox5.Controls.Add(this.DeathGrip);
            this.groupBox5.Controls.Add(this.DeathGripMinDistance);
            this.groupBox5.Controls.Add(this.DarkSimulacrumonAuto);
            this.groupBox5.Controls.Add(this.DeathandDecaySnare);
            this.groupBox5.Controls.Add(this.ControlUndead);
            this.groupBox5.Location = new Point(6, 6);
            this.groupBox5.Name = "groupBox5";
            this.groupBox5.Size = new Size(0xf2, 0x173);
            this.groupBox5.TabIndex = 2;
            this.groupBox5.TabStop = false;
            this.groupBox5.Text = "Advanced Settings";
            this.NecroticStrikeStackBurst.Location = new Point(6, 0x120);
            this.NecroticStrikeStackBurst.Name = "NecroticStrikeStackBurst";
            this.NecroticStrikeStackBurst.Size = new Size(0xaf, 0x11);
            this.NecroticStrikeStackBurst.TabIndex = 0xb7;
            this.NecroticStrikeStackBurst.Text = "And Activate Burst";
            this.toolTip1.SetToolTip(this.NecroticStrikeStackBurst, "Also Activate Burst Mode when you have a define number of Death Runes");
            this.NecroticStrikeStackBurst.UseVisualStyleBackColor = true;
            this.NecroticStrikeStackBurst.CheckedChanged += new EventHandler(this.NecroticStrikeStackBurst_CheckedChanged);
            this.NecroticStrikeStackDeathRune.Location = new Point(0xc4, 0x108);
            int[] numArray44 = new int[4];
            numArray44[0] = 6;
            this.NecroticStrikeStackDeathRune.Maximum = new decimal(numArray44);
            this.NecroticStrikeStackDeathRune.Name = "NecroticStrikeStackDeathRune";
            this.NecroticStrikeStackDeathRune.Size = new Size(40, 20);
            this.NecroticStrikeStackDeathRune.TabIndex = 0xb6;
            this.NecroticStrikeStackDeathRune.ValueChanged += new EventHandler(this.NecroticStrikeDeathRuneNumber_ValueChanged);
            this.AttackASAP.AutoSize = true;
            this.AttackASAP.Location = new Point(6, 0x13);
            this.AttackASAP.Name = "AttackASAP";
            this.AttackASAP.Size = new Size(0xbb, 0x11);
            this.AttackASAP.TabIndex = 0xb5;
            this.AttackASAP.Text = "Attack Flag Cap and Totem ASAP";
            this.AttackASAP.UseVisualStyleBackColor = true;
            this.AttackASAP.CheckedChanged += new EventHandler(this.AttackASAP_CheckedChanged);
            this.DarkSimulacrumon.AutoSize = true;
            this.DarkSimulacrumon.Location = new Point(6, 140);
            this.DarkSimulacrumon.Name = "DarkSimulacrumon";
            this.DarkSimulacrumon.Size = new Size(0x6a, 0x11);
            this.DarkSimulacrumon.TabIndex = 180;
            this.DarkSimulacrumon.Text = "Dark Simulacrum";
            this.DarkSimulacrumon.UseVisualStyleBackColor = true;
            this.DarkSimulacrumon.CheckedChanged += new EventHandler(this.DarkSimulacrumon_CheckedChanged);
            this.DarkSimulacrumonCooldown.AutoSize = true;
            this.DarkSimulacrumonCooldown.Location = new Point(170, 0x8b);
            this.DarkSimulacrumonCooldown.Name = "DarkSimulacrumonCooldown";
            this.DarkSimulacrumonCooldown.Size = new Size(0x48, 0x11);
            this.DarkSimulacrumonCooldown.TabIndex = 0xb3;
            this.DarkSimulacrumonCooldown.TabStop = true;
            this.DarkSimulacrumonCooldown.Text = "Cooldown";
            this.DarkSimulacrumonCooldown.UseVisualStyleBackColor = true;
            this.DarkSimulacrumonCooldown.CheckedChanged += new EventHandler(this.DarkSimulacrumonCooldown_CheckedChanged);
            this.DarkSimulacrumonCast.AutoSize = true;
            this.DarkSimulacrumonCast.Location = new Point(0x76, 0x8b);
            this.DarkSimulacrumonCast.Name = "DarkSimulacrumonCast";
            this.DarkSimulacrumonCast.Size = new Size(0x2e, 0x11);
            this.DarkSimulacrumonCast.TabIndex = 0xb2;
            this.DarkSimulacrumonCast.TabStop = true;
            this.DarkSimulacrumonCast.Text = "Cast";
            this.DarkSimulacrumonCast.UseVisualStyleBackColor = true;
            this.DarkSimulacrumonCast.CheckedChanged += new EventHandler(this.DarkSimulacrumonCast_CheckedChanged);
            this.ChainofIceMelee.AutoSize = true;
            this.ChainofIceMelee.Location = new Point(6, 0x5e);
            this.ChainofIceMelee.Name = "ChainofIceMelee";
            this.ChainofIceMelee.Size = new Size(0xa5, 0x11);
            this.ChainofIceMelee.TabIndex = 150;
            this.ChainofIceMelee.Text = "CoI Melee If Friend HP Below";
            this.ChainofIceMelee.UseVisualStyleBackColor = true;
            this.ChainofIceMelee.CheckedChanged += new EventHandler(this.ChainofIceMelee_CheckedChanged);
            int[] numArray45 = new int[4];
            numArray45[0] = 5;
            this.ChainofIceMeleeHP.Increment = new decimal(numArray45);
            this.ChainofIceMeleeHP.Location = new Point(0xc4, 0x5d);
            this.ChainofIceMeleeHP.Name = "ChainofIceMeleeHP";
            this.ChainofIceMeleeHP.Size = new Size(40, 20);
            this.ChainofIceMeleeHP.TabIndex = 0x95;
            this.ChainofIceMeleeHP.ValueChanged += new EventHandler(this.ChainofIceMeleeHP_ValueChanged);
            this.DeathGripMelee.AutoSize = true;
            this.DeathGripMelee.Location = new Point(6, 0xdb);
            this.DeathGripMelee.Name = "DeathGripMelee";
            this.DeathGripMelee.Size = new Size(0xb8, 0x11);
            this.DeathGripMelee.TabIndex = 0x94;
            this.DeathGripMelee.Text = "Death Grip Melee Help Friend HP";
            this.toolTip1.SetToolTip(this.DeathGripMelee, "Death Grip Enemy Melee Help Friend When His HP Below defined percent");
            this.DeathGripMelee.UseVisualStyleBackColor = true;
            this.DeathGripMelee.CheckedChanged += new EventHandler(this.DeathGripMelee_CheckedChanged);
            int[] numArray46 = new int[4];
            numArray46[0] = 5;
            this.DeathGripMeleeHP.Increment = new decimal(numArray46);
            this.DeathGripMeleeHP.Location = new Point(0xc4, 0xda);
            this.DeathGripMeleeHP.Name = "DeathGripMeleeHP";
            this.DeathGripMeleeHP.Size = new Size(40, 20);
            this.DeathGripMeleeHP.TabIndex = 0x93;
            this.DeathGripMeleeHP.ValueChanged += new EventHandler(this.DeathGripMeleeHP_ValueChanged);
            this.ChainsofIce.AutoSize = true;
            this.ChainsofIce.Location = new Point(6, 0x44);
            this.ChainsofIce.Name = "ChainsofIce";
            this.ChainsofIce.Size = new Size(0xb6, 0x11);
            this.ChainsofIce.TabIndex = 0x84;
            this.ChainsofIce.Text = "Chains of Ice Current at Distance";
            this.ChainsofIce.UseVisualStyleBackColor = true;
            this.ChainsofIce.CheckedChanged += new EventHandler(this.ChainsofIce_CheckedChanged);
            this.ChainsofIceMinDistance.Location = new Point(0xc4, 0x43);
            this.ChainsofIceMinDistance.Name = "ChainsofIceMinDistance";
            this.ChainsofIceMinDistance.Size = new Size(40, 20);
            this.ChainsofIceMinDistance.TabIndex = 0x83;
            this.ChainsofIceMinDistance.ValueChanged += new EventHandler(this.ChainsofIceMinDistance_ValueChanged);
            this.NecroticStrikeStack.AutoSize = true;
            this.NecroticStrikeStack.Location = new Point(6, 0x109);
            this.NecroticStrikeStack.Name = "NecroticStrikeStack";
            this.NecroticStrikeStack.Size = new Size(0xac, 0x11);
            this.NecroticStrikeStack.TabIndex = 0x91;
            this.NecroticStrikeStack.Text = "Necrotic Strike on Death Rune";
            this.NecroticStrikeStack.UseVisualStyleBackColor = true;
            this.NecroticStrikeStack.CheckedChanged += new EventHandler(this.NecroticStrikeStack_CheckedChanged);
            this.DeathGrip.AutoSize = true;
            this.DeathGrip.Location = new Point(6, 0xba);
            this.DeathGrip.Name = "DeathGrip";
            this.DeathGrip.Size = new Size(0x94, 30);
            this.DeathGrip.TabIndex = 130;
            this.DeathGrip.Text = "Death Grip Current Target\r\nMinimum Distance";
            this.DeathGrip.UseVisualStyleBackColor = true;
            this.DeathGrip.CheckedChanged += new EventHandler(this.DeathGrip_CheckedChanged);
            this.DeathGripMinDistance.Location = new Point(0xc4, 0xc0);
            this.DeathGripMinDistance.Name = "DeathGripMinDistance";
            this.DeathGripMinDistance.Size = new Size(40, 20);
            this.DeathGripMinDistance.TabIndex = 0x81;
            this.DeathGripMinDistance.ValueChanged += new EventHandler(this.DeathGripMinDistance_ValueChanged);
            this.DarkSimulacrumonAuto.Location = new Point(6, 0xa3);
            this.DarkSimulacrumonAuto.Name = "DarkSimulacrumonAuto";
            this.DarkSimulacrumonAuto.Size = new Size(0xaf, 0x11);
            this.DarkSimulacrumonAuto.TabIndex = 0x90;
            this.DarkSimulacrumonAuto.Text = "Auto Use Dark Simulacrum Buff";
            this.DarkSimulacrumonAuto.UseVisualStyleBackColor = true;
            this.DarkSimulacrumonAuto.CheckedChanged += new EventHandler(this.DarkSimulacrumonAuto_CheckedChanged);
            this.DeathandDecaySnare.AutoSize = true;
            this.DeathandDecaySnare.Location = new Point(6, 0xf2);
            this.DeathandDecaySnare.Name = "DeathandDecaySnare";
            this.DeathandDecaySnare.Size = new Size(0xb1, 0x11);
            this.DeathandDecaySnare.TabIndex = 0x8d;
            this.DeathandDecaySnare.Text = "Death and Decay Snare (Glyph)";
            this.DeathandDecaySnare.UseVisualStyleBackColor = true;
            this.DeathandDecaySnare.CheckedChanged += new EventHandler(this.DeathandDecaySnare_CheckedChanged);
            this.ControlUndead.AutoSize = true;
            this.ControlUndead.Location = new Point(6, 0x75);
            this.ControlUndead.Name = "ControlUndead";
            this.ControlUndead.Size = new Size(100, 0x11);
            this.ControlUndead.TabIndex = 140;
            this.ControlUndead.Text = "Control Undead";
            this.ControlUndead.UseVisualStyleBackColor = true;
            this.ControlUndead.CheckedChanged += new EventHandler(this.ControlUndead_CheckedChanged);
            this.tabPage5.Controls.Add(this.groupBox9);
            this.tabPage5.Controls.Add(this.groupBox7);
            this.tabPage5.Controls.Add(this.groupBox6);
            this.tabPage5.Location = new Point(4, 0x16);
            this.tabPage5.Name = "tabPage5";
            this.tabPage5.Size = new Size(0x2f0, 0x17f);
            this.tabPage5.TabIndex = 4;
            this.tabPage5.Text = "Talents Settings";
            this.tabPage5.UseVisualStyleBackColor = true;
            this.groupBox9.Controls.Add(this.RemorselessWinterEnemyLowHP);
            this.groupBox9.Controls.Add(this.RemorselessWinter);
            this.groupBox9.Controls.Add(this.RemorselessWinterEnemyLow);
            this.groupBox9.Controls.Add(this.RemorselessWinterHP);
            this.groupBox9.Controls.Add(this.RemorselessWinterEnemy);
            this.groupBox9.Controls.Add(this.RemorselessWinterEnemyNumber);
            this.groupBox9.Controls.Add(this.RemorselessWinterBurst);
            this.groupBox9.Controls.Add(this.RemorselessWinterDeathGrip);
            this.groupBox9.Location = new Point(0x1f6, 6);
            this.groupBox9.Name = "groupBox9";
            this.groupBox9.Size = new Size(0xf4, 0x173);
            this.groupBox9.TabIndex = 0x93;
            this.groupBox9.TabStop = false;
            bits = new int[4];
            bits[0] = 5;
            this.RemorselessWinterEnemyLowHP.Increment = new decimal(bits);
            this.RemorselessWinterEnemyLowHP.Location = new Point(0xc6, 0x36);
            this.RemorselessWinterEnemyLowHP.Name = "RemorselessWinterEnemyLowHP";
            this.RemorselessWinterEnemyLowHP.Size = new Size(40, 20);
            this.RemorselessWinterEnemyLowHP.TabIndex = 0xb0;
            this.RemorselessWinterEnemyLowHP.ValueChanged += new EventHandler(this.RemorselessWinterEnemyLowHP_ValueChanged);
            this.RemorselessWinter.AutoSize = true;
            this.RemorselessWinter.Location = new Point(6, 12);
            this.RemorselessWinter.Name = "RemorselessWinter";
            this.RemorselessWinter.Size = new Size(0x7a, 30);
            this.RemorselessWinter.TabIndex = 0xab;
            this.RemorselessWinter.Text = "Remorseless Winter\r\nWhen My HP Below";
            this.RemorselessWinter.UseVisualStyleBackColor = true;
            this.RemorselessWinter.CheckedChanged += new EventHandler(this.RemorselessWinter_CheckedChanged);
            this.RemorselessWinterEnemyLow.AutoSize = true;
            this.RemorselessWinterEnemyLow.Location = new Point(6, 0x30);
            this.RemorselessWinterEnemyLow.Name = "RemorselessWinterEnemyLow";
            this.RemorselessWinterEnemyLow.Size = new Size(140, 30);
            this.RemorselessWinterEnemyLow.TabIndex = 0xb1;
            this.RemorselessWinterEnemyLow.Text = "Remorseless Winter\r\nWhen Enemy HP Below";
            this.RemorselessWinterEnemyLow.UseVisualStyleBackColor = true;
            this.RemorselessWinterEnemyLow.CheckedChanged += new EventHandler(this.RemorselessWinterEnemyLow_CheckedChanged);
            bits = new int[4];
            bits[0] = 5;
            this.RemorselessWinterHP.Increment = new decimal(bits);
            this.RemorselessWinterHP.Location = new Point(0xc6, 0x12);
            this.RemorselessWinterHP.Name = "RemorselessWinterHP";
            this.RemorselessWinterHP.Size = new Size(40, 20);
            this.RemorselessWinterHP.TabIndex = 170;
            this.RemorselessWinterHP.ValueChanged += new EventHandler(this.RemorselessWinterHP_ValueChanged);
            this.RemorselessWinterEnemy.AutoSize = true;
            this.RemorselessWinterEnemy.Location = new Point(6, 0x54);
            this.RemorselessWinterEnemy.Name = "RemorselessWinterEnemy";
            this.RemorselessWinterEnemy.Size = new Size(170, 30);
            this.RemorselessWinterEnemy.TabIndex = 0xad;
            this.RemorselessWinterEnemy.Text = "Remorseless Winter If \r\nThis Number of Enemy Around";
            this.RemorselessWinterEnemy.UseVisualStyleBackColor = true;
            this.RemorselessWinterEnemy.CheckedChanged += new EventHandler(this.RemorselessWinterEnemy_CheckedChanged);
            this.RemorselessWinterEnemyNumber.Location = new Point(0xc6, 0x57);
            this.RemorselessWinterEnemyNumber.Name = "RemorselessWinterEnemyNumber";
            this.RemorselessWinterEnemyNumber.Size = new Size(40, 20);
            this.RemorselessWinterEnemyNumber.TabIndex = 0xac;
            this.RemorselessWinterEnemyNumber.ValueChanged += new EventHandler(this.RemorselessWinterEnemyNumber_ValueChanged);
            this.RemorselessWinterBurst.AutoSize = true;
            this.RemorselessWinterBurst.Location = new Point(6, 0x9c);
            this.RemorselessWinterBurst.Name = "RemorselessWinterBurst";
            this.RemorselessWinterBurst.Size = new Size(0x8d, 30);
            this.RemorselessWinterBurst.TabIndex = 0xaf;
            this.RemorselessWinterBurst.Text = "Remorseless Winter \r\nUse on Burst Mode Only";
            this.RemorselessWinterBurst.UseVisualStyleBackColor = true;
            this.RemorselessWinterBurst.CheckedChanged += new EventHandler(this.RemorselessWinterBurst_CheckedChanged);
            this.RemorselessWinterDeathGrip.AutoSize = true;
            this.RemorselessWinterDeathGrip.Location = new Point(6, 120);
            this.RemorselessWinterDeathGrip.Name = "RemorselessWinterDeathGrip";
            this.RemorselessWinterDeathGrip.Size = new Size(0xbb, 30);
            this.RemorselessWinterDeathGrip.TabIndex = 0xae;
            this.RemorselessWinterDeathGrip.Text = "Death Grip Every Enemy Around\r\nWhen I Have Remorseless Winter";
            this.RemorselessWinterDeathGrip.UseVisualStyleBackColor = true;
            this.RemorselessWinterDeathGrip.CheckedChanged += new EventHandler(this.RemorselessWinterDeathGrip_CheckedChanged);
            this.groupBox7.Controls.Add(this.GorefiendsGraspAoE);
            this.groupBox7.Controls.Add(this.GorefiendsGraspAoENumber);
            this.groupBox7.Controls.Add(this.DesecratedGroundDebuffMinDuration);
            this.groupBox7.Controls.Add(this.GorefiendsGraspMelee);
            this.groupBox7.Controls.Add(this.GorefiendsGraspMeleeHP);
            this.groupBox7.Controls.Add(this.GorefiendsGraspKiter);
            this.groupBox7.Controls.Add(this.DesecratedGround);
            this.groupBox7.Controls.Add(this.GorefiendsGraspKiterMinDist);
            this.groupBox7.Controls.Add(this.LichborneFear);
            this.groupBox7.Controls.Add(this.LichborneFearDuration);
            this.groupBox7.Controls.Add(this.LichborneHealHP);
            this.groupBox7.Controls.Add(this.LichborneHeal);
            this.groupBox7.Controls.Add(this.GorefiendsGraspAggroMinDist);
            this.groupBox7.Controls.Add(this.GorefiendsGraspAggro);
            this.groupBox7.Controls.Add(this.GorefiendsGraspInterruptMS);
            this.groupBox7.Controls.Add(this.GorefiendsGraspInterrupt);
            this.groupBox7.Location = new Point(0xfe, 6);
            this.groupBox7.Name = "groupBox7";
            this.groupBox7.Size = new Size(0xf4, 0x173);
            this.groupBox7.TabIndex = 0x92;
            this.groupBox7.TabStop = false;
            this.GorefiendsGraspAoE.AutoSize = true;
            this.GorefiendsGraspAoE.Location = new Point(6, 0xc0);
            this.GorefiendsGraspAoE.Name = "GorefiendsGraspAoE";
            this.GorefiendsGraspAoE.Size = new Size(0xb6, 30);
            this.GorefiendsGraspAoE.TabIndex = 0x8b;
            this.GorefiendsGraspAoE.Text = "Gorefiend's Grasp Ring of Frost\r\nSolar Beam on Number of Enemy";
            this.GorefiendsGraspAoE.UseVisualStyleBackColor = true;
            this.GorefiendsGraspAoE.CheckedChanged += new EventHandler(this.GorefiendsGraspAoE_CheckedChanged);
            this.GorefiendsGraspAoENumber.Location = new Point(0xc6, 0xc6);
            this.GorefiendsGraspAoENumber.Name = "GorefiendsGraspAoENumber";
            this.GorefiendsGraspAoENumber.Size = new Size(40, 20);
            this.GorefiendsGraspAoENumber.TabIndex = 0x8a;
            this.GorefiendsGraspAoENumber.ValueChanged += new EventHandler(this.GorefiendsGraspAoENumber_ValueChanged);
            bits = new int[4];
            bits[0] = 100;
            this.DesecratedGroundDebuffMinDuration.Increment = new decimal(bits);
            this.DesecratedGroundDebuffMinDuration.Location = new Point(0xba, 0x12);
            bits = new int[4];
            bits[0] = 0x2710;
            this.DesecratedGroundDebuffMinDuration.Maximum = new decimal(bits);
            this.DesecratedGroundDebuffMinDuration.Name = "DesecratedGroundDebuffMinDuration";
            this.DesecratedGroundDebuffMinDuration.Size = new Size(50, 20);
            this.DesecratedGroundDebuffMinDuration.TabIndex = 0xb0;
            this.DesecratedGroundDebuffMinDuration.ValueChanged += new EventHandler(this.DesecratedGroundDebuffMinDuration_ValueChanged);
            this.GorefiendsGraspMelee.AutoSize = true;
            this.GorefiendsGraspMelee.Location = new Point(6, 0x9c);
            this.GorefiendsGraspMelee.Name = "GorefiendsGraspMelee";
            this.GorefiendsGraspMelee.Size = new Size(190, 30);
            this.GorefiendsGraspMelee.TabIndex = 0x89;
            this.GorefiendsGraspMelee.Text = "Gorefiend's Grasp Melee Attacking\r\nFriend When his HP Below";
            this.GorefiendsGraspMelee.UseVisualStyleBackColor = true;
            this.GorefiendsGraspMelee.CheckedChanged += new EventHandler(this.GorefiendsGraspMelee_CheckedChanged);
            bits = new int[4];
            bits[0] = 5;
            this.GorefiendsGraspMeleeHP.Increment = new decimal(bits);
            this.GorefiendsGraspMeleeHP.Location = new Point(0xc4, 0xa2);
            this.GorefiendsGraspMeleeHP.Name = "GorefiendsGraspMeleeHP";
            this.GorefiendsGraspMeleeHP.Size = new Size(40, 20);
            this.GorefiendsGraspMeleeHP.TabIndex = 0x88;
            this.GorefiendsGraspMeleeHP.ValueChanged += new EventHandler(this.GorefiendsGraspMeleeHP_ValueChanged);
            this.GorefiendsGraspKiter.AutoSize = true;
            this.GorefiendsGraspKiter.Location = new Point(6, 120);
            this.GorefiendsGraspKiter.Name = "GorefiendsGraspKiter";
            this.GorefiendsGraspKiter.Size = new Size(0x86, 30);
            this.GorefiendsGraspKiter.TabIndex = 0x87;
            this.GorefiendsGraspKiter.Text = "Gorefiend's Grasp Kiter\r\nMinimum Distance";
            this.GorefiendsGraspKiter.UseVisualStyleBackColor = true;
            this.GorefiendsGraspKiter.CheckedChanged += new EventHandler(this.GorefiendsGraspKiter_CheckedChanged);
            this.DesecratedGround.Location = new Point(6, 12);
            this.DesecratedGround.Name = "DesecratedGround";
            this.DesecratedGround.Size = new Size(170, 30);
            this.DesecratedGround.TabIndex = 0xb1;
            this.DesecratedGround.Text = "Desecrated Ground Break CC \r\nWhen Duration Longer Than";
            this.DesecratedGround.UseVisualStyleBackColor = true;
            this.DesecratedGround.CheckedChanged += new EventHandler(this.DesecratedGround_CheckedChanged);
            this.GorefiendsGraspKiterMinDist.Location = new Point(0xc4, 0x7e);
            bits = new int[4];
            bits[0] = 20;
            this.GorefiendsGraspKiterMinDist.Maximum = new decimal(bits);
            this.GorefiendsGraspKiterMinDist.Name = "GorefiendsGraspKiterMinDist";
            this.GorefiendsGraspKiterMinDist.Size = new Size(40, 20);
            this.GorefiendsGraspKiterMinDist.TabIndex = 0x86;
            this.GorefiendsGraspKiterMinDist.ValueChanged += new EventHandler(this.GorefiendsGraspKiterMinDist_ValueChanged);
            this.LichborneFear.AutoSize = true;
            this.LichborneFear.Location = new Point(6, 0xe4);
            this.LichborneFear.Name = "LichborneFear";
            this.LichborneFear.Size = new Size(0xb1, 30);
            this.LichborneFear.TabIndex = 0xa1;
            this.LichborneFear.Text = "Lichborne Break CC Only When\r\nDuration Longer Than (Ms)";
            this.LichborneFear.UseVisualStyleBackColor = true;
            this.LichborneFear.CheckedChanged += new EventHandler(this.LichborneFear_CheckedChanged);
            bits = new int[4];
            bits[0] = 100;
            this.LichborneFearDuration.Increment = new decimal(bits);
            this.LichborneFearDuration.Location = new Point(0xbc, 0xea);
            bits = new int[4];
            bits[0] = 0x2710;
            this.LichborneFearDuration.Maximum = new decimal(bits);
            this.LichborneFearDuration.Name = "LichborneFearDuration";
            this.LichborneFearDuration.Size = new Size(50, 20);
            this.LichborneFearDuration.TabIndex = 160;
            this.LichborneFearDuration.ValueChanged += new EventHandler(this.LichborneFearDuration_ValueChanged);
            bits = new int[4];
            bits[0] = 5;
            this.LichborneHealHP.Increment = new decimal(bits);
            this.LichborneHealHP.Location = new Point(0xc6, 0x10b);
            this.LichborneHealHP.Name = "LichborneHealHP";
            this.LichborneHealHP.Size = new Size(40, 20);
            this.LichborneHealHP.TabIndex = 0xa2;
            this.LichborneHealHP.ValueChanged += new EventHandler(this.LichborneHealHP_ValueChanged);
            this.LichborneHeal.AutoSize = true;
            this.LichborneHeal.Location = new Point(6, 0x108);
            this.LichborneHeal.Name = "LichborneHeal";
            this.LichborneHeal.Size = new Size(0xb3, 30);
            this.LichborneHeal.TabIndex = 0xa3;
            this.LichborneHeal.Text = "Lichborne and Death Coil Myself\r\nWhen My HP Below";
            this.LichborneHeal.UseVisualStyleBackColor = true;
            this.LichborneHeal.CheckedChanged += new EventHandler(this.LichborneHeal_CheckedChanged);
            this.GorefiendsGraspAggroMinDist.Location = new Point(0xc4, 0x59);
            bits = new int[4];
            bits[0] = 20;
            this.GorefiendsGraspAggroMinDist.Maximum = new decimal(bits);
            this.GorefiendsGraspAggroMinDist.Name = "GorefiendsGraspAggroMinDist";
            this.GorefiendsGraspAggroMinDist.Size = new Size(40, 20);
            this.GorefiendsGraspAggroMinDist.TabIndex = 0x84;
            this.GorefiendsGraspAggroMinDist.ValueChanged += new EventHandler(this.GorefiendsGraspAggroMinDist_ValueChanged);
            this.GorefiendsGraspAggro.AutoSize = true;
            this.GorefiendsGraspAggro.Location = new Point(6, 0x54);
            this.GorefiendsGraspAggro.Name = "GorefiendsGraspAggro";
            this.GorefiendsGraspAggro.Size = new Size(0xad, 30);
            this.GorefiendsGraspAggro.TabIndex = 0x85;
            this.GorefiendsGraspAggro.Text = "Gorefiend's Grasp Loose Aggro\r\nUnit at Minimum Dist";
            this.GorefiendsGraspAggro.UseVisualStyleBackColor = true;
            this.GorefiendsGraspAggro.CheckedChanged += new EventHandler(this.GorefiendsGraspAggro_CheckedChanged);
            bits = new int[4];
            bits[0] = 100;
            this.GorefiendsGraspInterruptMS.Increment = new decimal(bits);
            this.GorefiendsGraspInterruptMS.Location = new Point(0xba, 0x36);
            bits = new int[4];
            bits[0] = 0x2710;
            this.GorefiendsGraspInterruptMS.Maximum = new decimal(bits);
            this.GorefiendsGraspInterruptMS.Name = "GorefiendsGraspInterruptMS";
            this.GorefiendsGraspInterruptMS.Size = new Size(50, 20);
            this.GorefiendsGraspInterruptMS.TabIndex = 130;
            this.GorefiendsGraspInterruptMS.ValueChanged += new EventHandler(this.GorefiendsGraspInterruptMS_ValueChanged);
            this.GorefiendsGraspInterrupt.AutoSize = true;
            this.GorefiendsGraspInterrupt.Location = new Point(6, 0x30);
            this.GorefiendsGraspInterrupt.Name = "GorefiendsGraspInterrupt";
            this.GorefiendsGraspInterrupt.Size = new Size(0xa9, 30);
            this.GorefiendsGraspInterrupt.TabIndex = 0x83;
            this.GorefiendsGraspInterrupt.Text = "Gorefiend's Grasp Interrupt\r\nSpell at Casting Time Left (Ms)\r\n";
            this.GorefiendsGraspInterrupt.UseVisualStyleBackColor = true;
            this.GorefiendsGraspInterrupt.CheckedChanged += new EventHandler(this.GorefiendsGraspInterrupt_CheckedChanged);
            this.groupBox6.Controls.Add(this.Siphon);
            this.groupBox6.Controls.Add(this.SiphonHP);
            this.groupBox6.Controls.Add(this.DeathPact);
            this.groupBox6.Controls.Add(this.DeathPactHP);
            this.groupBox6.Controls.Add(this.BloodChargeStack);
            this.groupBox6.Controls.Add(this.BloodTap);
            this.groupBox6.Controls.Add(this.DeathsAdvance);
            this.groupBox6.Controls.Add(this.UnholyBlight);
            this.groupBox6.Controls.Add(this.AntiMagicZoneDebuff);
            this.groupBox6.Controls.Add(this.PlagueLeech);
            this.groupBox6.Controls.Add(this.HealAttack);
            this.groupBox6.Controls.Add(this.AntiMagicZoneHP);
            this.groupBox6.Controls.Add(this.HealAttackHP);
            this.groupBox6.Controls.Add(this.AntiMagicZone);
            this.groupBox6.Controls.Add(this.AntiMagicZoneCaster);
            this.groupBox6.Controls.Add(this.AntiMagicZoneCasterNumber);
            this.groupBox6.Controls.Add(this.AntiMagicZoneDebuffNumber);
            this.groupBox6.Location = new Point(6, 6);
            this.groupBox6.Name = "groupBox6";
            this.groupBox6.Size = new Size(0xf2, 0x173);
            this.groupBox6.TabIndex = 0x92;
            this.groupBox6.TabStop = false;
            this.groupBox6.Text = "Talents Settings";
            this.Siphon.AutoSize = true;
            this.Siphon.Location = new Point(6, 0x112);
            this.Siphon.Name = "Siphon";
            this.Siphon.Size = new Size(0x9e, 0x11);
            this.Siphon.TabIndex = 0xb7;
            this.Siphon.Text = "Siphon When My HP Below";
            this.Siphon.UseVisualStyleBackColor = true;
            this.Siphon.CheckedChanged += new EventHandler(this.Siphon_CheckedChanged);
            bits = new int[4];
            bits[0] = 5;
            this.SiphonHP.Increment = new decimal(bits);
            this.SiphonHP.Location = new Point(0xc4, 0x111);
            this.SiphonHP.Name = "SiphonHP";
            this.SiphonHP.Size = new Size(40, 20);
            this.SiphonHP.TabIndex = 0xb6;
            this.SiphonHP.ValueChanged += new EventHandler(this.SiphonHP_ValueChanged);
            this.DeathPact.AutoSize = true;
            this.DeathPact.Location = new Point(6, 0xf8);
            this.DeathPact.Name = "DeathPact";
            this.DeathPact.Size = new Size(0xb3, 0x11);
            this.DeathPact.TabIndex = 0xb5;
            this.DeathPact.Text = "Death Pact When My HP Below";
            this.DeathPact.UseVisualStyleBackColor = true;
            this.DeathPact.CheckedChanged += new EventHandler(this.DeathPact_CheckedChanged);
            bits = new int[4];
            bits[0] = 5;
            this.DeathPactHP.Increment = new decimal(bits);
            this.DeathPactHP.Location = new Point(0xc4, 0xf7);
            this.DeathPactHP.Name = "DeathPactHP";
            this.DeathPactHP.Size = new Size(40, 20);
            this.DeathPactHP.TabIndex = 180;
            this.DeathPactHP.ValueChanged += new EventHandler(this.DeathPactHP_ValueChanged);
            this.BloodChargeStack.Location = new Point(0xc4, 0xc3);
            bits = new int[4];
            bits[0] = 12;
            this.BloodChargeStack.Maximum = new decimal(bits);
            bits = new int[4];
            bits[0] = 5;
            this.BloodChargeStack.Minimum = new decimal(bits);
            this.BloodChargeStack.Name = "BloodChargeStack";
            this.BloodChargeStack.Size = new Size(40, 20);
            this.BloodChargeStack.TabIndex = 0xb2;
            bits = new int[4];
            bits[0] = 5;
            this.BloodChargeStack.Value = new decimal(bits);
            this.BloodChargeStack.ValueChanged += new EventHandler(this.BloodChargeStack_ValueChanged);
            this.BloodTap.AutoSize = true;
            this.BloodTap.Location = new Point(6, 0xc4);
            this.BloodTap.Name = "BloodTap";
            this.BloodTap.Size = new Size(0xb3, 0x11);
            this.BloodTap.TabIndex = 0xb3;
            this.BloodTap.Text = "Blood Tap on Number of Charge";
            this.BloodTap.UseVisualStyleBackColor = true;
            this.BloodTap.CheckedChanged += new EventHandler(this.BloodTap_CheckedChanged);
            this.DeathsAdvance.AutoSize = true;
            this.DeathsAdvance.Location = new Point(6, 0x13);
            this.DeathsAdvance.Name = "DeathsAdvance";
            this.DeathsAdvance.Size = new Size(0x85, 0x11);
            this.DeathsAdvance.TabIndex = 0xa9;
            this.DeathsAdvance.Text = "Auto Deaths' Advance";
            this.DeathsAdvance.UseVisualStyleBackColor = true;
            this.DeathsAdvance.CheckedChanged += new EventHandler(this.DeathsAdvance_CheckedChanged);
            this.UnholyBlight.AutoSize = true;
            this.UnholyBlight.Location = new Point(6, 0x41);
            this.UnholyBlight.Name = "UnholyBlight";
            this.UnholyBlight.Size = new Size(0x71, 0x11);
            this.UnholyBlight.TabIndex = 0xa8;
            this.UnholyBlight.Text = "Auto Unholy Blight";
            this.UnholyBlight.UseVisualStyleBackColor = true;
            this.UnholyBlight.CheckedChanged += new EventHandler(this.UnholyBlight_CheckedChanged);
            this.AntiMagicZoneDebuff.AutoSize = true;
            this.AntiMagicZoneDebuff.Location = new Point(6, 0x7c);
            this.AntiMagicZoneDebuff.Name = "AntiMagicZoneDebuff";
            this.AntiMagicZoneDebuff.Size = new Size(0xab, 30);
            this.AntiMagicZoneDebuff.TabIndex = 0x9d;
            this.AntiMagicZoneDebuff.Text = "Anti Magic Zone When I Have\r\nThis Number of Magic Debuff";
            this.AntiMagicZoneDebuff.UseVisualStyleBackColor = true;
            this.AntiMagicZoneDebuff.CheckedChanged += new EventHandler(this.AntiMagicZoneDebuff_CheckedChanged);
            this.PlagueLeech.AutoSize = true;
            this.PlagueLeech.Location = new Point(6, 0x2a);
            this.PlagueLeech.Name = "PlagueLeech";
            this.PlagueLeech.Size = new Size(0x75, 0x11);
            this.PlagueLeech.TabIndex = 0x91;
            this.PlagueLeech.Text = "Auto Plague Leech";
            this.PlagueLeech.UseVisualStyleBackColor = true;
            this.PlagueLeech.CheckedChanged += new EventHandler(this.PlagueLeech_CheckedChanged);
            this.HealAttack.AutoSize = true;
            this.HealAttack.Location = new Point(6, 0xde);
            this.HealAttack.Name = "HealAttack";
            this.HealAttack.Size = new Size(0xb2, 0x11);
            this.HealAttack.TabIndex = 0xa5;
            this.HealAttack.Text = "Conversion When My HP Below";
            this.HealAttack.UseVisualStyleBackColor = true;
            this.HealAttack.CheckedChanged += new EventHandler(this.HealAttack_CheckedChanged);
            bits = new int[4];
            bits[0] = 5;
            this.AntiMagicZoneHP.Increment = new decimal(bits);
            this.AntiMagicZoneHP.Location = new Point(0xc4, 0x5e);
            this.AntiMagicZoneHP.Name = "AntiMagicZoneHP";
            this.AntiMagicZoneHP.Size = new Size(40, 20);
            this.AntiMagicZoneHP.TabIndex = 0xa6;
            this.AntiMagicZoneHP.ValueChanged += new EventHandler(this.AntiMagicZoneHP_ValueChanged);
            bits = new int[4];
            bits[0] = 5;
            this.HealAttackHP.Increment = new decimal(bits);
            this.HealAttackHP.Location = new Point(0xc4, 0xdd);
            this.HealAttackHP.Name = "HealAttackHP";
            this.HealAttackHP.Size = new Size(40, 20);
            this.HealAttackHP.TabIndex = 0xa4;
            this.HealAttackHP.ValueChanged += new EventHandler(this.HealAttackHP_ValueChanged);
            this.AntiMagicZone.AutoSize = true;
            this.AntiMagicZone.Location = new Point(6, 0x58);
            this.AntiMagicZone.Name = "AntiMagicZone";
            this.AntiMagicZone.Size = new Size(0x9c, 30);
            this.AntiMagicZone.TabIndex = 0xa7;
            this.AntiMagicZone.Text = "Anti Magic Zone When My \r\nHP Below";
            this.AntiMagicZone.UseVisualStyleBackColor = true;
            this.AntiMagicZone.CheckedChanged += new EventHandler(this.AntiMagicZone_CheckedChanged);
            this.AntiMagicZoneCaster.AutoSize = true;
            this.AntiMagicZoneCaster.Location = new Point(6, 160);
            this.AntiMagicZoneCaster.Name = "AntiMagicZoneCaster";
            this.AntiMagicZoneCaster.Size = new Size(0xaf, 30);
            this.AntiMagicZoneCaster.TabIndex = 0x9f;
            this.AntiMagicZoneCaster.Text = "Anti-Magic Zone If I'm Targeted\r\nby This Number of Magic DPS";
            this.AntiMagicZoneCaster.UseVisualStyleBackColor = true;
            this.AntiMagicZoneCaster.CheckedChanged += new EventHandler(this.AntiMagicZoneCaster_CheckedChanged);
            this.AntiMagicZoneCasterNumber.Location = new Point(0xc4, 0xa6);
            this.AntiMagicZoneCasterNumber.Name = "AntiMagicZoneCasterNumber";
            this.AntiMagicZoneCasterNumber.Size = new Size(40, 20);
            this.AntiMagicZoneCasterNumber.TabIndex = 0x9e;
            this.AntiMagicZoneCasterNumber.ValueChanged += new EventHandler(this.AntiMagicZoneCasterNumber_ValueChanged);
            this.AntiMagicZoneDebuffNumber.Location = new Point(0xc4, 130);
            this.AntiMagicZoneDebuffNumber.Name = "AntiMagicZoneDebuffNumber";
            this.AntiMagicZoneDebuffNumber.Size = new Size(40, 20);
            this.AntiMagicZoneDebuffNumber.TabIndex = 0x9c;
            this.AntiMagicZoneDebuffNumber.ValueChanged += new EventHandler(this.AntiMagicZoneDebuffNumber_ValueChanged);
            this.tabPage3.Controls.Add(this.richTextBox1);
            this.tabPage3.Location = new Point(4, 0x16);
            this.tabPage3.Name = "tabPage3";
            this.tabPage3.Size = new Size(0x2f0, 0x17f);
            this.tabPage3.TabIndex = 2;
            this.tabPage3.Text = "Special Thank";
            this.tabPage3.UseVisualStyleBackColor = true;
            this.richTextBox1.Location = new Point(0, 0);
            this.richTextBox1.Name = "richTextBox1";
            this.richTextBox1.Size = new Size(0x2f0, 0x17f);
            this.richTextBox1.TabIndex = 0;
            this.richTextBox1.Text = "";
            this.OK.Location = new Point(0x2b9, 0x1ab);
            this.OK.Name = "OK";
            this.OK.Size = new Size(0x4b, 0x17);
            this.OK.TabIndex = 1;
            this.OK.Text = " OK";
            this.OK.UseVisualStyleBackColor = true;
            this.OK.Click += new EventHandler(this.OK_Click);
            this.Apply.Location = new Point(0x268, 0x1ab);
            this.Apply.Name = "Apply";
            this.Apply.Size = new Size(0x4b, 0x17);
            this.Apply.TabIndex = 2;
            this.Apply.Text = "Apply";
            this.Apply.UseVisualStyleBackColor = true;
            this.Apply.Click += new EventHandler(this.Apply_Click);
            this.Dungeon.Location = new Point(0x217, 0x1ab);
            this.Dungeon.Name = "Dungeon";
            this.Dungeon.Size = new Size(0x4b, 0x17);
            this.Dungeon.TabIndex = 3;
            this.Dungeon.Text = "Dungeon";
            this.Dungeon.UseVisualStyleBackColor = true;
            this.Dungeon.Click += new EventHandler(this.Dungeon_Click);
            this.Raid.Location = new Point(0x1c6, 0x1ab);
            this.Raid.Name = "Raid";
            this.Raid.Size = new Size(0x4b, 0x17);
            this.Raid.TabIndex = 4;
            this.Raid.Text = "Raid";
            this.Raid.UseVisualStyleBackColor = true;
            this.Raid.Click += new EventHandler(this.Raid_Click);
            this.PvP.Location = new Point(0x175, 0x1ab);
            this.PvP.Name = "PvP";
            this.PvP.Size = new Size(0x4b, 0x17);
            this.PvP.TabIndex = 5;
            this.PvP.Text = "PvP";
            this.PvP.UseVisualStyleBackColor = true;
            this.PvP.Click += new EventHandler(this.PvP_Click);
            this.Quest.Location = new Point(0x124, 0x1ab);
            this.Quest.Name = "Quest";
            this.Quest.Size = new Size(0x4b, 0x17);
            this.Quest.TabIndex = 6;
            this.Quest.Text = "Quest";
            this.Quest.UseVisualStyleBackColor = true;
            this.Quest.Click += new EventHandler(this.Quest_Click);
            this.AFK.Location = new Point(0xd3, 0x1ab);
            this.AFK.Name = "AFK";
            this.AFK.Size = new Size(0x4b, 0x17);
            this.AFK.TabIndex = 7;
            this.AFK.Text = "Full AFK";
            this.AFK.UseVisualStyleBackColor = true;
            this.AFK.Click += new EventHandler(this.AFK_Click);
            this.SaveSetting.Location = new Point(0x62, 0x1ab);
            this.SaveSetting.Name = "SaveSetting";
            this.SaveSetting.Size = new Size(80, 0x17);
            this.SaveSetting.TabIndex = 8;
            this.SaveSetting.Text = "Save Setting";
            this.SaveSetting.UseVisualStyleBackColor = true;
            this.SaveSetting.Click += new EventHandler(this.SaveSetting_Click);
            this.LoadSetting.Location = new Point(12, 0x1ab);
            this.LoadSetting.Name = "LoadSetting";
            this.LoadSetting.Size = new Size(80, 0x17);
            this.LoadSetting.TabIndex = 9;
            this.LoadSetting.Text = "Load Setting";
            this.LoadSetting.UseVisualStyleBackColor = true;
            this.LoadSetting.Click += new EventHandler(this.LoadSetting_Click);
            this.AsphyxiateHelpFriend.AutoSize = true;
            this.AsphyxiateHelpFriend.Location = new Point(6, 0x2a);
            this.AsphyxiateHelpFriend.Name = "AsphyxiateHelpFriend";
            this.AsphyxiateHelpFriend.Size = new Size(0x98, 0x11);
            this.AsphyxiateHelpFriend.TabIndex = 0xb9;
            this.AsphyxiateHelpFriend.Text = "Asphyxiate Help Friend HP";
            this.toolTip1.SetToolTip(this.AsphyxiateHelpFriend, "Asophyxiate Enemy Help Friend When His HP Below defined percent");
            this.AsphyxiateHelpFriend.UseVisualStyleBackColor = true;
            this.AsphyxiateHelpFriend.CheckedChanged += new EventHandler(this.AsphyxiateHelpFriend_CheckedChanged);
            bits = new int[4];
            bits[0] = 5;
            this.AsphyxiateHelpFriendHP.Increment = new decimal(bits);
            this.AsphyxiateHelpFriendHP.Location = new Point(0xc4, 0x29);
            this.AsphyxiateHelpFriendHP.Name = "AsphyxiateHelpFriendHP";
            this.AsphyxiateHelpFriendHP.Size = new Size(40, 20);
            this.AsphyxiateHelpFriendHP.TabIndex = 0xb8;
            this.AsphyxiateHelpFriendHP.ValueChanged += new EventHandler(this.AsphyxiateHelpFriendHP_ValueChanged);
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x310, 0x1ce);
            base.Controls.Add(this.LoadSetting);
            base.Controls.Add(this.SaveSetting);
            base.Controls.Add(this.AFK);
            base.Controls.Add(this.Quest);
            base.Controls.Add(this.PvP);
            base.Controls.Add(this.Raid);
            base.Controls.Add(this.Dungeon);
            base.Controls.Add(this.Apply);
            base.Controls.Add(this.OK);
            base.Controls.Add(this.tabControl1);
            base.MaximizeBox = false;
            base.MinimizeBox = false;
            base.Name = "THForm";
            base.SizeGripStyle = SizeGripStyle.Hide;
            base.StartPosition = FormStartPosition.CenterScreen;
            this.Text = "TuanHA Death Knight";
            base.TopMost = true;
            base.Load += new EventHandler(this.THDKForm_Load);
            this.tabControl1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            ((ISupportInitialize) this.pictureBox1).EndInit();
            this.tabPage2.ResumeLayout(false);
            this.groupBox4.ResumeLayout(false);
            this.groupBox4.PerformLayout();
            this.GargoyleFrenzyPercent.EndInit();
            this.Trinket1HP.EndInit();
            this.Trinket2HP.EndInit();
            this.BurstHP.EndInit();
            this.EmpowerRuneWeaponPercent.EndInit();
            this.RaiseDeadPercent.EndInit();
            this.ProfBuffHP.EndInit();
            this.PillarofFrostPercent.EndInit();
            this.groupBox3.ResumeLayout(false);
            this.groupBox3.PerformLayout();
            this.UnittoStartAoE.EndInit();
            this.UseFoodHP.EndInit();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.BloodPresenceHP.EndInit();
            this.AntiMagicShellEnemyHP.EndInit();
            this.AntiMagicShellCasterNumber.EndInit();
            this.AntiMagicShellDebuffNumber.EndInit();
            this.DancingRuneWeaponHP.EndInit();
            this.IceboundFortitudeStunDuration.EndInit();
            this.VampiricBloodHP.EndInit();
            this.HealthStoneHP.EndInit();
            this.RuneTapHP.EndInit();
            this.AntiMagicShellHP.EndInit();
            this.IceboundFortitudeHP.EndInit();
            this.DeathStrikeHP.EndInit();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.StrangulateInterruptTargetHP.EndInit();
            this.DeathGripInterruptMs.EndInit();
            this.StrangulateInterruptMs.EndInit();
            this.MindFreezeInterruptMs.EndInit();
            this.tabPage4.ResumeLayout(false);
            this.groupBox10.ResumeLayout(false);
            this.groupBox10.PerformLayout();
            this.SoulReaperHP.EndInit();
            this.StrangulateLowHP.EndInit();
            this.groupBox8.ResumeLayout(false);
            this.groupBox8.PerformLayout();
            this.LeapRangeDist.EndInit();
            this.ChargeStunFriendHP.EndInit();
            this.ChargeInterruptMS.EndInit();
            this.GnawInterruptMS.EndInit();
            this.GnawStunFriendHP.EndInit();
            this.ChargeStunEnemyHP.EndInit();
            this.GnawStunEnemyHP.EndInit();
            this.FollowDistance.EndInit();
            this.DeathCoilHealPetHP.EndInit();
            this.HuddleHP.EndInit();
            this.groupBox5.ResumeLayout(false);
            this.groupBox5.PerformLayout();
            this.NecroticStrikeStackDeathRune.EndInit();
            this.ChainofIceMeleeHP.EndInit();
            this.DeathGripMeleeHP.EndInit();
            this.ChainsofIceMinDistance.EndInit();
            this.DeathGripMinDistance.EndInit();
            this.tabPage5.ResumeLayout(false);
            this.groupBox9.ResumeLayout(false);
            this.groupBox9.PerformLayout();
            this.RemorselessWinterEnemyLowHP.EndInit();
            this.RemorselessWinterHP.EndInit();
            this.RemorselessWinterEnemyNumber.EndInit();
            this.groupBox7.ResumeLayout(false);
            this.groupBox7.PerformLayout();
            this.GorefiendsGraspAoENumber.EndInit();
            this.DesecratedGroundDebuffMinDuration.EndInit();
            this.GorefiendsGraspMeleeHP.EndInit();
            this.GorefiendsGraspKiterMinDist.EndInit();
            this.LichborneFearDuration.EndInit();
            this.LichborneHealHP.EndInit();
            this.GorefiendsGraspAggroMinDist.EndInit();
            this.GorefiendsGraspInterruptMS.EndInit();
            this.groupBox6.ResumeLayout(false);
            this.groupBox6.PerformLayout();
            this.SiphonHP.EndInit();
            this.DeathPactHP.EndInit();
            this.BloodChargeStack.EndInit();
            this.AntiMagicZoneHP.EndInit();
            this.HealAttackHP.EndInit();
            this.AntiMagicZoneCasterNumber.EndInit();
            this.AntiMagicZoneDebuffNumber.EndInit();
            this.tabPage3.ResumeLayout(false);
            this.AsphyxiateHelpFriendHP.EndInit();
            base.ResumeLayout(false);
        }

        private void InterruptAll_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.InterruptAll = this.InterruptAll.Checked;
        }

        private void InterruptFocus_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.InterruptFocus = this.InterruptFocus.Checked;
        }

        private void InterruptTarget_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.InterruptTarget = this.InterruptTarget.Checked;
        }

        private void LeapRange_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.LeapRange = this.LeapRange.Checked;
        }

        private void LeapRangeDist_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.LeapRangeDist = (int) this.LeapRangeDist.Value;
        }

        private void LichborneFear_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.LichborneFear = this.LichborneFear.Checked;
        }

        private void LichborneFearDuration_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.LichborneFearDuration = (int) this.LichborneFearDuration.Value;
        }

        private void LichborneHeal_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.LichborneHeal = this.LichborneHeal.Checked;
        }

        private void LichborneHealHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.LichborneHealHP = (int) this.LichborneHealHP.Value;
        }

        private void LoadSetting_Click(object sender, EventArgs e)
        {
            OpenFileDialog dialog = new OpenFileDialog {
                Filter = "Setting File|*.xml",
                Title = "Load Setting from a File",
                InitialDirectory = Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\User Settings\"
            };
            dialog.ShowDialog();
            if (dialog.FileName.Contains(".xml"))
            {
                THSettings.Instance.LoadFromXML(XElement.Load(dialog.FileName));
                Logging.Write("----------------------------------");
                Logging.Write("Load Setting from: " + dialog.FileName);
                Logging.Write("----------------------------------");
                this.THDKForm_Load(null, null);
            }
        }

        private void MindFreeze_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.MindFreezeInterruptMs = (int) this.MindFreezeInterruptMs.Value;
        }

        private void MindFreezeInterrupt_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.MindFreezeInterrupt = this.MindFreezeInterrupt.Checked;
        }

        private void NecroticStrikeDeathRuneNumber_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.NecroticStrikeDeathRuneNumber = (int) this.NecroticStrikeStackDeathRune.Value;
        }

        private void NecroticStrikeStack_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.NecroticStrikeStack = this.NecroticStrikeStack.Checked;
        }

        private void NecroticStrikeStackBurst_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.NecroticStrikeStackBurst = this.NecroticStrikeStackBurst.Checked;
        }

        private void OK_Click(object sender, EventArgs e)
        {
            THSettings.Instance.LastSavedMode = this.LastSavedMode;
            THSettings.Instance.LastSavedSpec = Classname.GetCurrentSpec();
            THSettings.Instance.Save();
            Logging.Write("----------------------------------");
            Logging.Write("TuanHA DK Settings have been saved");
            Logging.Write((Styx.Common.LogLevel) Styx.Common.LogLevel.Diagnostic, "Your Setting for Debug Purpose Only");
            base.Close();
            THSettings.Instance.UpdateStatus = true;
        }

        private void PauseKey_SelectedIndexChanged(object sender, EventArgs e)
        {
            for (int i = 0; i <= 40; i++)
            {
                if (this.PauseKey.SelectedIndex == i)
                {
                    THSettings.Instance.PauseKey = i;
                }
            }
        }

        private void PillarofFrost_SelectedIndexChanged(object sender, EventArgs e)
        {
            for (int i = 0; i <= 4; i++)
            {
                if (this.PillarofFrost.SelectedIndex == i)
                {
                    THSettings.Instance.PillarofFrost = i;
                }
            }
        }

        private void PillarofFrostPercent_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.PillarofFrostPercent = (int) this.PillarofFrostPercent.Value;
        }

        private void PlagueLeech_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.PlagueLeech = this.PlagueLeech.Checked;
        }

        private void ProfBuff_SelectedIndexChanged(object sender, EventArgs e)
        {
            for (int i = 0; i <= 7; i++)
            {
                if (this.ProfBuff.SelectedIndex == i)
                {
                    THSettings.Instance.ProfBuff = i;
                }
            }
        }

        private void ProfBuffHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.ProfBuffHP = (int) this.ProfBuffHP.Value;
        }

        private void PvP_Click(object sender, EventArgs e)
        {
            MessageBox.Show(Classname.GetCurrentSpec() + " Death Knight PvP Mode: Work best with LazyRaider in PvP.", "Important Note", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
            Logging.Write("----------------------------------");
            Logging.Write("PvP Mode On");
            Logging.Write("----------------------------------");
            if (File.Exists(Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Preset\TuanHA Death Knight Defaut PvP.xml"))
            {
                Logging.Write("----------------------------------");
                THSettings.Instance.LoadFromXML(XElement.Load(Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Preset\TuanHA Death Knight Defaut PvP.xml"));
                Logging.Write("Load TuanHA Death Knight Defaut PvP Settings from a file complete");
                Logging.Write("----------------------------------");
                this.THDKForm_Load(null, null);
            }
            else
            {
                Logging.Write("----------------------------------");
                Logging.Write("File not exists: " + Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Preset\TuanHA Death Knight Defaut PvP.xml");
                Logging.Write("Load TuanHA Death Knight Defaut AFK PvP from a file fail.");
                Logging.Write("----------------------------------");
            }
        }

        private void Quest_Click(object sender, EventArgs e)
        {
            MessageBox.Show(Classname.GetCurrentSpec() + " Death Knight Quest Helper Mode: Work best with LazyRaider in solo questing.\r\n\r\nJust select your target, the bot will move to melee range and attack.", "Important Note", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
            Logging.Write("----------------------------------");
            Logging.Write("Quest Helper Mode On");
            Logging.Write("----------------------------------");
            if (File.Exists(Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Preset\TuanHA Death Knight Defaut Quest.xml"))
            {
                Logging.Write("----------------------------------");
                THSettings.Instance.LoadFromXML(XElement.Load(Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Preset\TuanHA Death Knight Defaut Quest.xml"));
                Logging.Write("Load TuanHA Death Knight Defaut Quest Settings from a file complete");
                Logging.Write("----------------------------------");
                this.THDKForm_Load(null, null);
            }
            else
            {
                Logging.Write("----------------------------------");
                Logging.Write("File not exists: " + Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Preset\TuanHA Death Knight Defaut Quest.xml");
                Logging.Write("Load TuanHA Death Knight Defaut AFK Quest from a file fail.");
                Logging.Write("----------------------------------");
            }
        }

        private void Raid_Click(object sender, EventArgs e)
        {
            MessageBox.Show(Classname.GetCurrentSpec() + " Death Knight Raid Mode: Work best with LazyRaider in Raid.", "Important Note", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
            Logging.Write("----------------------------------");
            Logging.Write("Raid Mode On");
            Logging.Write("----------------------------------");
            if (File.Exists(Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Preset\TuanHA Death Knight Defaut Raid.xml"))
            {
                Logging.Write("----------------------------------");
                THSettings.Instance.LoadFromXML(XElement.Load(Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Preset\TuanHA Death Knight Defaut Raid.xml"));
                Logging.Write("Load TuanHA Death Knight Defaut Raid Settings from a file complete");
                Logging.Write("----------------------------------");
                this.THDKForm_Load(null, null);
            }
            else
            {
                Logging.Write("----------------------------------");
                Logging.Write("File not exists: " + Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Preset\TuanHA Death Knight Defaut Raid.xml");
                Logging.Write("Load TuanHA Death Knight Defaut AFK Raid from a file fail.");
                Logging.Write("----------------------------------");
            }
        }

        private void RaiseDead_SelectedIndexChanged(object sender, EventArgs e)
        {
            for (int i = 0; i <= 4; i++)
            {
                if (this.RaiseDead.SelectedIndex == i)
                {
                    THSettings.Instance.RaiseDead = i;
                }
            }
        }

        private void RaiseDeadPercent_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.RaiseDeadPercent = (int) this.RaiseDeadPercent.Value;
        }

        private void RemorselessWinter_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.RemorselessWinter = this.RemorselessWinter.Checked;
        }

        private void RemorselessWinterBurst_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.RemorselessWinterBurst = this.RemorselessWinterBurst.Checked;
        }

        private void RemorselessWinterDeathGrip_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.RemorselessWinterDeathGrip = this.RemorselessWinterDeathGrip.Checked;
        }

        private void RemorselessWinterEnemy_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.RemorselessWinterEnemy = this.RemorselessWinterEnemy.Checked;
        }

        private void RemorselessWinterEnemyLow_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.RemorselessWinterEnemyLow = this.RemorselessWinterEnemyLow.Checked;
        }

        private void RemorselessWinterEnemyLowHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.RemorselessWinterEnemyLowHP = (int) this.RemorselessWinterEnemyLowHP.Value;
        }

        private void RemorselessWinterEnemyNumber_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.RemorselessWinterEnemyNumber = (int) this.RemorselessWinterEnemyNumber.Value;
        }

        private void RemorselessWinterHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.RemorselessWinterHP = (int) this.RemorselessWinterHP.Value;
        }

        private void RuneTap_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.RuneTap = this.RuneTap.Checked;
        }

        private void RuneTap_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.RuneTapHP = (int) this.RuneTapHP.Value;
        }

        private void SaveSetting_Click(object sender, EventArgs e)
        {
            SaveFileDialog dialog = new SaveFileDialog {
                Filter = "Setting File|*.xml",
                Title = "Save Setting to a File",
                InitialDirectory = Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\User Settings\",
                DefaultExt = "xml",
                FileName = "TuanHA Death Knight " + Classname.GetCurrentSpec()
            };
            dialog.ShowDialog();
            if (dialog.FileName.Contains(".xml"))
            {
                THSettings.Instance.SaveToFile(dialog.FileName);
                Logging.Write("----------------------------------");
                Logging.Write("Save Setting to: " + dialog.FileName);
                Logging.Write("----------------------------------");
            }
        }

        private void Siphon_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.Siphon = this.Siphon.Checked;
        }

        private void SiphonHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.SiphonHP = (int) this.SiphonHP.Value;
        }

        private void SoulReaper_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.SoulReaper = this.SoulReaper.Checked;
        }

        private void SoulReaperHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.SoulReaperHP = (int) this.SoulReaperHP.Value;
        }

        private void StartEating_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.UseFoodHP = (int) this.UseFoodHP.Value;
        }

        private void StrafleLeft_SelectedIndexChanged(object sender, EventArgs e)
        {
            for (int i = 0; i <= 40; i++)
            {
                if (this.StrafleLeft.SelectedIndex == i)
                {
                    THSettings.Instance.StrafleLeft = i;
                }
            }
        }

        private void StrafleRight_SelectedIndexChanged(object sender, EventArgs e)
        {
            for (int i = 0; i <= 40; i++)
            {
                if (this.StrafleRight.SelectedIndex == i)
                {
                    THSettings.Instance.StrafleRight = i;
                }
            }
        }

        private void Strangulate_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.StrangulateInterruptMs = (int) this.StrangulateInterruptMs.Value;
        }

        private void StrangulateInterrupt_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.StrangulateInterrupt = this.StrangulateInterrupt.Checked;
        }

        private void StrangulateInterruptTarget_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.StrangulateInterruptTarget = this.StrangulateInterruptTarget.Checked;
        }

        private void StrangulateInterruptTargetHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.StrangulateInterruptTargetHP = (int) this.StrangulateInterruptTargetHP.Value;
        }

        private void StrangulateLow_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.StrangulateLow = this.StrangulateLow.Checked;
        }

        private void StrangulateLowHP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.StrangulateLowHP = (int) this.StrangulateLowHP.Value;
        }

        private void THDKForm_Load(object sender, EventArgs e)
        {
            if (File.Exists(Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Files\TuanHA-DK-Picture.jpg"))
            {
                this.pictureBox1.ImageLocation = Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Files\TuanHA-DK-Picture.jpg";
            }
            if (File.Exists(Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Files\SpecialThanks.rtf"))
            {
                this.richTextBox1.LoadFile(Utilities.AssemblyDirectory + @"\Routines\TuanHADKSpecialEdition\Files\SpecialThanks.rtf");
            }
            this.AutoAoE.Checked = THSettings.Instance.AutoAoE;
            this.AntiMagicShell.Checked = THSettings.Instance.AntiMagicShell;
            this.AntiMagicShellLichborne.Checked = THSettings.Instance.AntiMagicShellLichborne;
            this.AntiMagicShellHP.Value = THSettings.Instance.AntiMagicShellHP;
            this.AntiMagicShellDebuff.Checked = THSettings.Instance.AntiMagicShellDebuff;
            this.AntiMagicShellDebuffNumber.Value = THSettings.Instance.AntiMagicShellDebuffNumber;
            this.AntiMagicShellCaster.Checked = THSettings.Instance.AntiMagicShellCaster;
            this.AntiMagicShellCasterNumber.Value = THSettings.Instance.AntiMagicShellCasterNumber;
            this.AntiMagicShellEnemy.Checked = THSettings.Instance.AntiMagicShellEnemy;
            this.AntiMagicShellEnemyHP.Value = THSettings.Instance.AntiMagicShellEnemyHP;
            this.AntiMagicZone.Checked = THSettings.Instance.AntiMagicZone;
            this.AntiMagicZoneHP.Value = THSettings.Instance.AntiMagicZoneHP;
            this.AntiMagicZoneDebuff.Checked = THSettings.Instance.AntiMagicZoneDebuff;
            this.AntiMagicZoneDebuffNumber.Value = THSettings.Instance.AntiMagicZoneDebuffNumber;
            this.AntiMagicZoneCaster.Checked = THSettings.Instance.AntiMagicZoneCaster;
            this.AntiMagicZoneCasterNumber.Value = THSettings.Instance.AntiMagicZoneCasterNumber;
            this.AsphyxiateHelpFriend.Checked = THSettings.Instance.AsphyxiateHelpFriend;
            this.AsphyxiateHelpFriendHP.Value = THSettings.Instance.AsphyxiateHelpFriendHP;
            this.AutoFace.Checked = THSettings.Instance.AutoFace;
            this.AutoMove.Checked = THSettings.Instance.AutoMove;
            this.AutoPathofFrost.Checked = THSettings.Instance.AutoPathofFrost;
            this.AutoPrecence.Checked = THSettings.Instance.AutoPrecence;
            this.AutoRacial.Checked = THSettings.Instance.AutoRacial;
            this.AutoRaiseAlly.Checked = THSettings.Instance.AutoRaiseAlly;
            this.AutoTarget.Checked = THSettings.Instance.AutoTarget;
            this.AutoTaunt.Checked = THSettings.Instance.AutoTaunt;
            this.AttackASAP.Checked = THSettings.Instance.AttackASAP;
            this.AttackOOC.Checked = THSettings.Instance.AttackOOC;
            this.Backward.SelectedIndex = THSettings.Instance.Backward;
            this.BloodTap.Checked = THSettings.Instance.BloodTap;
            this.BloodChargeStack.Value = THSettings.Instance.BloodChargeStack;
            this.AutoBuff.Checked = THSettings.Instance.AutoBuff;
            this.BloodPresence.Checked = THSettings.Instance.BloodPresence;
            this.BloodPresenceHP.Value = THSettings.Instance.BloodPresenceHP;
            this.BurstKey.SelectedIndex = THSettings.Instance.BurstKey;
            this.BurstHP.Value = THSettings.Instance.BurstHP;
            this.ChainsofIce.Checked = THSettings.Instance.ChainsofIce;
            this.ChainsofIceMinDistance.Value = THSettings.Instance.ChainsofIceMinDistance;
            this.ChainofIceMelee.Checked = THSettings.Instance.ChainofIceMelee;
            this.ChainofIceMeleeHP.Value = THSettings.Instance.ChainofIceMeleeHP;
            this.ChargeInterrupt.Checked = THSettings.Instance.ChargeInterrupt;
            this.ChargeInterruptMS.Value = THSettings.Instance.ChargeInterruptMS;
            this.ChargeStunEnemy.Checked = THSettings.Instance.ChargeStunEnemy;
            this.ChargeStunEnemyHP.Value = THSettings.Instance.ChargeStunEnemyHP;
            this.ChargeStunFriend.Checked = THSettings.Instance.ChargeStunFriend;
            this.ChargeStunFriendHP.Value = THSettings.Instance.ChargeStunFriendHP;
            this.ControlUndead.Checked = THSettings.Instance.ControlUndead;
            this.DancingRuneWeapon.Checked = THSettings.Instance.DancingRuneWeapon;
            this.DancingRuneWeaponHP.Value = THSettings.Instance.DancingRuneWeaponHP;
            this.DarkSimulacrumon.Checked = THSettings.Instance.DarkSimulacrumon;
            this.DarkSimulacrumonCast.Checked = THSettings.Instance.DarkSimulacrumonCast;
            this.DarkSimulacrumonCooldown.Checked = THSettings.Instance.DarkSimulacrumonCooldown;
            this.DarkSimulacrumonAuto.Checked = THSettings.Instance.DarkSimulacrumonAuto;
            this.DeathandDecaySnare.Checked = THSettings.Instance.DeathandDecaySnare;
            this.DeathCoilHealPet.Checked = THSettings.Instance.DeathCoilHealPet;
            this.DeathCoilHealPetHP.Value = THSettings.Instance.DeathCoilHealPetHP;
            this.DeathGrip.Checked = THSettings.Instance.DeathGrip;
            this.DeathGripMinDistance.Value = THSettings.Instance.DeathGripMinDistance;
            this.DeathGripInterrupt.Checked = THSettings.Instance.DeathGripInterrupt;
            this.DeathGripInterruptMs.Value = THSettings.Instance.DeathGripInterruptMs;
            this.DeathGripMelee.Checked = THSettings.Instance.DeathGripMelee;
            this.DeathGripMeleeHP.Value = THSettings.Instance.DeathGripMeleeHP;
            this.DeathsAdvance.Checked = THSettings.Instance.DeathsAdvance;
            this.DeathPact.Checked = THSettings.Instance.DeathPact;
            this.DeathPactHP.Value = THSettings.Instance.DeathPactHP;
            this.DeathStrike.Checked = THSettings.Instance.DeathStrike;
            this.DeathStrikeHP.Value = THSettings.Instance.DeathStrikeHP;
            this.DesecratedGround.Checked = THSettings.Instance.DesecratedGround;
            this.DesecratedGroundDebuffMinDuration.Value = THSettings.Instance.DesecratedGroundDebuffMinDuration;
            this.EmpowerRuneWeapon.SelectedIndex = THSettings.Instance.EmpowerRuneWeapon;
            this.EmpowerRuneWeaponPercent.Value = THSettings.Instance.EmpowerRuneWeaponPercent;
            this.FlagReturnorPickup.Checked = THSettings.Instance.FlagReturnorPickup;
            this.Follow.Checked = THSettings.Instance.Follow;
            this.FollowDistance.Value = THSettings.Instance.FollowDistance;
            this.Forward.SelectedIndex = THSettings.Instance.Forward;
            this.GargoyleFrenzy.SelectedIndex = THSettings.Instance.GargoyleFrenzy;
            this.GargoyleFrenzyPercent.Value = THSettings.Instance.GargoyleFrenzyPercent;
            this.GorefiendsGraspInterrupt.Checked = THSettings.Instance.GorefiendsGraspInterrupt;
            this.GorefiendsGraspInterruptMS.Value = THSettings.Instance.GorefiendsGraspInterruptMS;
            this.GorefiendsGraspAggro.Checked = THSettings.Instance.GorefiendsGraspAggro;
            this.GorefiendsGraspAggroMinDist.Value = THSettings.Instance.GorefiendsGraspAggroMinDist;
            this.GorefiendsGraspKiter.Checked = THSettings.Instance.GorefiendsGraspKiter;
            this.GorefiendsGraspKiterMinDist.Value = THSettings.Instance.GorefiendsGraspKiterMinDist;
            this.GorefiendsGraspMelee.Checked = THSettings.Instance.GorefiendsGraspMelee;
            this.GorefiendsGraspMeleeHP.Value = THSettings.Instance.GorefiendsGraspMeleeHP;
            this.GorefiendsGraspAoE.Checked = THSettings.Instance.GorefiendsGraspAoE;
            this.GorefiendsGraspAoENumber.Value = THSettings.Instance.GorefiendsGraspAoENumber;
            this.GnawInterrupt.Checked = THSettings.Instance.GnawInterrupt;
            this.GnawInterruptMS.Value = THSettings.Instance.GnawInterruptMS;
            this.GnawStunEnemy.Checked = THSettings.Instance.GnawStunEnemy;
            this.GnawStunEnemyHP.Value = THSettings.Instance.GnawStunEnemyHP;
            this.GnawStunFriend.Checked = THSettings.Instance.GnawStunFriend;
            this.GnawStunFriendHP.Value = THSettings.Instance.GnawStunFriendHP;
            this.HealAttack.Checked = THSettings.Instance.HealAttack;
            this.HealAttackHP.Value = THSettings.Instance.HealAttackHP;
            this.HealthStone.Checked = THSettings.Instance.HealthStone;
            this.HealthStoneHP.Value = THSettings.Instance.HealthStoneHP;
            this.Huddle.Checked = THSettings.Instance.Huddle;
            this.HuddleHP.Value = THSettings.Instance.HuddleHP;
            this.InterruptAll.Checked = THSettings.Instance.InterruptAll;
            this.InterruptTarget.Checked = THSettings.Instance.InterruptTarget;
            this.InterruptFocus.Checked = THSettings.Instance.InterruptFocus;
            this.IceboundFortitude.Checked = THSettings.Instance.IceboundFortitude;
            this.IceboundFortitudeHP.Value = THSettings.Instance.IceboundFortitudeHP;
            this.IceboundFortitudeStun.Checked = THSettings.Instance.IceboundFortitudeStun;
            this.IceboundFortitudeStunDuration.Value = THSettings.Instance.IceboundFortitudeStunDuration;
            this.LeapRange.Checked = THSettings.Instance.LeapRange;
            this.LeapRangeDist.Value = THSettings.Instance.LeapRangeDist;
            this.LichborneFear.Checked = THSettings.Instance.LichborneFear;
            this.LichborneFearDuration.Value = THSettings.Instance.LichborneFearDuration;
            this.LichborneHeal.Checked = THSettings.Instance.LichborneHeal;
            this.LichborneHealHP.Value = THSettings.Instance.LichborneHealHP;
            this.MindFreezeInterrupt.Checked = THSettings.Instance.MindFreezeInterrupt;
            this.MindFreezeInterruptMs.Value = THSettings.Instance.MindFreezeInterruptMs;
            this.NecroticStrikeStack.Checked = THSettings.Instance.NecroticStrikeStack;
            this.NecroticStrikeStackDeathRune.Value = THSettings.Instance.NecroticStrikeDeathRuneNumber;
            this.NecroticStrikeStackBurst.Checked = THSettings.Instance.NecroticStrikeStackBurst;
            this.PauseKey.SelectedIndex = THSettings.Instance.PauseKey;
            this.PillarofFrost.SelectedIndex = THSettings.Instance.PillarofFrost;
            this.PillarofFrostPercent.Value = THSettings.Instance.PillarofFrostPercent;
            this.PlagueLeech.Checked = THSettings.Instance.PlagueLeech;
            this.ProfBuff.SelectedIndex = THSettings.Instance.ProfBuff;
            this.ProfBuffHP.Value = THSettings.Instance.ProfBuffHP;
            this.RaiseDead.SelectedIndex = THSettings.Instance.RaiseDead;
            this.RaiseDeadPercent.Value = THSettings.Instance.RaiseDeadPercent;
            this.RemorselessWinter.Checked = THSettings.Instance.RemorselessWinter;
            this.RemorselessWinterHP.Value = THSettings.Instance.RemorselessWinterHP;
            this.RemorselessWinterEnemy.Checked = THSettings.Instance.RemorselessWinterEnemy;
            this.RemorselessWinterEnemyNumber.Value = THSettings.Instance.RemorselessWinterEnemyNumber;
            this.RemorselessWinterDeathGrip.Checked = THSettings.Instance.RemorselessWinterDeathGrip;
            this.RemorselessWinterBurst.Checked = THSettings.Instance.RemorselessWinterBurst;
            this.RemorselessWinterEnemyLow.Checked = THSettings.Instance.RemorselessWinterEnemyLow;
            this.RemorselessWinterEnemyLowHP.Value = THSettings.Instance.RemorselessWinterEnemyLowHP;
            this.RuneTap.Checked = THSettings.Instance.RuneTap;
            this.RuneTapHP.Value = THSettings.Instance.RuneTapHP;
            this.Siphon.Checked = THSettings.Instance.Siphon;
            this.SiphonHP.Value = THSettings.Instance.SiphonHP;
            this.SoulReaper.Checked = THSettings.Instance.SoulReaper;
            this.SoulReaperHP.Value = THSettings.Instance.SoulReaperHP;
            this.StrafleLeft.SelectedIndex = THSettings.Instance.StrafleLeft;
            this.StrafleRight.SelectedIndex = THSettings.Instance.StrafleRight;
            this.StrangulateInterrupt.Checked = THSettings.Instance.StrangulateInterrupt;
            this.StrangulateInterruptMs.Value = THSettings.Instance.StrangulateInterruptMs;
            this.StrangulateInterruptTarget.Checked = THSettings.Instance.StrangulateInterruptTarget;
            this.StrangulateInterruptTargetHP.Value = THSettings.Instance.StrangulateInterruptTargetHP;
            this.StrangulateLow.Checked = THSettings.Instance.StrangulateLow;
            this.StrangulateLowHP.Value = THSettings.Instance.StrangulateLowHP;
            this.Trinket1.SelectedIndex = THSettings.Instance.Trinket1;
            this.Trinket1HP.Value = THSettings.Instance.Trinket1HP;
            this.Trinket2.SelectedIndex = THSettings.Instance.Trinket2;
            this.Trinket2HP.Value = THSettings.Instance.Trinket2HP;
            this.TurnRight.SelectedIndex = THSettings.Instance.TurnRight;
            this.TurnLeft.SelectedIndex = THSettings.Instance.TurnLeft;
            this.UnholyBlight.Checked = THSettings.Instance.UnholyBlight;
            this.UnittoStartAoE.Value = THSettings.Instance.UnittoStartAoE;
            this.UseFood.Checked = THSettings.Instance.UseFood;
            this.UseFoodHP.Value = THSettings.Instance.UseFoodHP;
            this.VampiricBlood.Checked = THSettings.Instance.VampiricBlood;
            this.VampiricBloodHP.Value = THSettings.Instance.VampiricBloodHP;
        }

        private void Trinket1_SelectedIndexChanged(object sender, EventArgs e)
        {
            for (int i = 0; i <= 7; i++)
            {
                if (this.Trinket1.SelectedIndex == i)
                {
                    THSettings.Instance.Trinket1 = i;
                }
            }
        }

        private void Trinket1HP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.Trinket1HP = (int) this.Trinket1HP.Value;
        }

        private void Trinket2_SelectedIndexChanged(object sender, EventArgs e)
        {
            for (int i = 0; i <= 7; i++)
            {
                if (this.Trinket2.SelectedIndex == i)
                {
                    THSettings.Instance.Trinket2 = i;
                }
            }
        }

        private void Trinket2HP_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.Trinket2HP = (int) this.Trinket2HP.Value;
        }

        private void TurnLeft_SelectedIndexChanged(object sender, EventArgs e)
        {
            for (int i = 0; i <= 40; i++)
            {
                if (this.TurnLeft.SelectedIndex == i)
                {
                    THSettings.Instance.TurnLeft = i;
                }
            }
        }

        private void TurnRight_SelectedIndexChanged(object sender, EventArgs e)
        {
            for (int i = 0; i <= 40; i++)
            {
                if (this.TurnRight.SelectedIndex == i)
                {
                    THSettings.Instance.TurnRight = i;
                }
            }
        }

        private void UnholyBlight_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.UnholyBlight = this.UnholyBlight.Checked;
        }

        private void UnittoStartAoE_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.UnittoStartAoE = (int) this.UnittoStartAoE.Value;
        }

        private void UseFood_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.UseFood = this.UseFood.Checked;
        }

        private void VampiricBlood_CheckedChanged(object sender, EventArgs e)
        {
            THSettings.Instance.VampiricBlood = this.VampiricBlood.Checked;
        }

        private void VampiricBlood_ValueChanged(object sender, EventArgs e)
        {
            THSettings.Instance.VampiricBloodHP = (int) this.VampiricBloodHP.Value;
        }
    }
}

